Skip to content

class Tourmaline::ChatMemberBanned
inherits Reference #

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

Included modules

JSON::Serializable

Constructors#

.new(status, user, until_date) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#status : String #

The member's status in the chat, always "kicked"

View source

#status=(status : String) #

The member's status in the chat, always "kicked"

View source

#until_date : Time #

View source

#until_date=(until_date : Time) #

View source

#user : Tourmaline::User #

Information about the user

View source

#user=(user : Tourmaline::User) #

Information about the user

View source