Class: TD::Types::ChatMemberStatus::Banned
- Inherits:
-
TD::Types::ChatMemberStatus
- Object
- Dry::Struct
- Base
- TD::Types::ChatMemberStatus
- TD::Types::ChatMemberStatus::Banned
- Defined in:
- lib/tdlib/types/chat_member_status/banned.rb
Overview
The user or the chat was banned (and hence is not a member of the chat). Implies the user can’t return to the chat, view messages, or be used as a participant identifier to join a voice
chat of the chat.
Instance Attribute Summary collapse
-
#banned_until_date ⇒ Integer
Point in time (Unix timestamp) when the user will be unbanned; 0 if never.
Method Summary
Methods inherited from Base
Instance Attribute Details
#banned_until_date ⇒ Integer
Point in time (Unix timestamp) when the user will be unbanned; 0 if never. If the user is banned for more than 366 days or for less than 30 seconds from the current time, the user is considered to be banned forever. Always 0 in basic groups.
10 11 12 |
# File 'lib/tdlib/types/chat_member_status/banned.rb', line 10 def banned_until_date @banned_until_date end |