class

Tourmaline::ChatMemberBanned

Inherits JSON::Serializable / Reference / Object

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

Constructors

new(status : String, user : Tourmaline::User, until_date : Time)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

status

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

Source
status=(status : String)

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

Source
until_date

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

Source
until_date=(until_date : Time)

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

Source
user

Information about the user

Source
user=(user : Tourmaline::User)

Information about the user

Source