ChatMemberBanned

@SerialName(value = "kicked")
data class ChatMemberBanned(val user: User, val untilDate: Int) : ChatMember(source)

ChatMemberBanned

Represents a chat member that was banned in the chat and can't return to the chat or view chat messages.

(auto-generated)

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(user: User, untilDate: Int)

Properties

Link copied to clipboard
@SerialName(value = "until_date")
val untilDate: Int

Date when restrictions will be lifted for this user; Unix time. If 0, then the user is banned forever

Link copied to clipboard
val user: User

Information about the user