Class: TD::Types::ChatActionBar::ReportSpam
- Inherits:
-
TD::Types::ChatActionBar
- Object
- Dry::Struct
- Base
- TD::Types::ChatActionBar
- TD::Types::ChatActionBar::ReportSpam
- Defined in:
- lib/tdlib/types/chat_action_bar/report_spam.rb
Overview
The chat can be reported as spam using the method reportChat with the reason chatReportReasonSpam.
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.
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.
7 8 9 |
# File 'lib/tdlib/types/chat_action_bar/report_spam.rb', line 7 def can_unarchive @can_unarchive end |