class Telegram::API::ChatMemberBanned
- Telegram::API::ChatMemberBanned
- Telegram::API::Type
- Reference
- Object
Overview
Represents a chat member that was banned in the chat and can't return to the chat or view chat messages.
Defined in:
telegram/api/generated/types.crConstructors
- .new(status : String, user : User, until_date : Int32)
-
.new(pull : JSON::PullParser)
Represents a chat member that was banned in the chat and can't return to the chat or view chat messages.
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 : Int32
Date when restrictions will be lifted for this user; unix time.
-
#until_date=(until_date : Int32)
Date when restrictions will be lifted for this user; unix time.
-
#user : User
Information about the user
-
#user=(user : User)
Information about the user
Instance methods inherited from class Telegram::API::Type
==(other)
==,
client
client
Constructor methods inherited from class Telegram::API::Type
new(pull : JSON::PullParser)
new
Constructor Detail
Represents a chat member that was banned in the chat and can't return to the chat or view chat messages.
Instance Method Detail
Date when restrictions will be lifted for this user; unix time. If 0, then the user is banned forever
Date when restrictions will be lifted for this user; unix time. If 0, then the user is banned forever