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 setMessageSenderBlockList, or the other user can be added to the contact list using the method
addContact.
If the chat is a private chat with a user with an emoji status, then a notice about emoji status usage must be
shown.
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 other user 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.
13 14 15 |
# File 'lib/tdlib/types/chat_action_bar/report_add_block.rb', line 13 def can_unarchive @can_unarchive end |
#distance ⇒ Integer
If non-negative, the current user was found by the other user through searchChatsNearby and this is the distance between the users.
13 14 15 |
# File 'lib/tdlib/types/chat_action_bar/report_add_block.rb', line 13 def distance @distance end |