class Tourmaline::ChatMemberBanned
- Tourmaline::ChatMemberBanned
- Reference
- Object
Overview
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
Defined in:
tourmaline/types/api.crConstructors
Instance Method Summary
-
#status : String
The member's status in the chat, always "kicked"
-
#status=(status : String)
The member's status in the chat, always "kicked"
-
#until_date : Time
Date when restrictions will be lifted for this user; Unix time.
-
#until_date=(until_date : Time)
Date when restrictions will be lifted for this user; Unix time.
-
#user : Tourmaline::User
Information about the user
-
#user=(user : Tourmaline::User)
Information about the user
Constructor Detail
Instance Method Detail
def until_date : Time
#
Date when restrictions will be lifted for this user; Unix time. If 0, then the user is banned forever
def until_date=(until_date : Time)
#
Date when restrictions will be lifted for this user; Unix time. If 0, then the user is banned forever