Class: TD::Types::ChatActionBar::ReportAddBlock
- Inherits:
-
TD::Types::ChatActionBar
- Object
- Dry::Struct
- Base
- TD::Types::ChatActionBar
- TD::Types::ChatActionBar::ReportAddBlock
- Defined in:
- lib/tdlib/types/chat_action_bar/report_add_block.rb
Overview
The chat is a private or secret chat, which can be reported using the method reportChat, or the other user can be
blocked using the method blockUser, or the other user can be added to the contact list using the method addContact.
Instance Attribute Summary collapse
-
#can_unarchive ⇒ Boolean
If true, the chat was automatically archived and can be moved back to the main chat list using addChatToList simultaneously with setting chat notification settings to default using setChatNotificationSettings.
-
#distance ⇒ Integer
If non-negative, the current user was found by the peer through searchChatsNearby and this is the distance between the users.
Method Summary
Methods inherited from Base
Instance Attribute Details
#can_unarchive ⇒ Boolean
If true, the chat was automatically archived and can be moved back to the main chat list using addChatToList simultaneously with setting chat notification settings to default using setChatNotificationSettings.
10 11 12 |
# File 'lib/tdlib/types/chat_action_bar/report_add_block.rb', line 10 def can_unarchive @can_unarchive end |
#distance ⇒ Integer
If non-negative, the current user was found by the peer through searchChatsNearby and this is the distance between the users.
10 11 12 |
# File 'lib/tdlib/types/chat_action_bar/report_add_block.rb', line 10 def distance @distance end |