BanChatMember

@Serializable
data class BanChatMember(val chatId: ChatIdentifier, val userId: UserId, val untilDate: TelegramDate? = null, val revokeMessages: Boolean? = null) : ChatMemberRequest<Boolean> , UntilDate

Constructors

Link copied to clipboard
constructor(chatId: ChatIdentifier, userId: UserId, untilDate: TelegramDate? = null, revokeMessages: Boolean? = null)

Properties

Link copied to clipboard
@SerialName(value = "chat_id")
open override val chatId: ChatIdentifier
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<Boolean>
Link copied to clipboard
@SerialName(value = "revoke_messages")
val revokeMessages: Boolean? = null
Link copied to clipboard
@SerialName(value = "until_date")
open override val untilDate: TelegramDate? = null
Link copied to clipboard
@SerialName(value = "user_id")
open override val userId: UserId

Functions

Link copied to clipboard
open override fun method(): String