ChatMemberBanned

data class ChatMemberBanned(status: String, user: User, until_date: Long) : ChatMember

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

Constructors

ChatMemberBanned
Link copied to clipboard
fun ChatMemberBanned(status: String, user: User, until_date: Long)
Creates a ChatMemberBanned.

Properties

status
Link copied to clipboard
val status: String
The member's status in the chat, always “kicked”
until_date
Link copied to clipboard
val until_date: Long
Date when restrictions will be lifted for this user; unix time.
user
Link copied to clipboard
val user: User
Information about the user