Class: TD::Types::ChatActionBar::ReportSpam

Inherits:
TD::Types::ChatActionBar show all
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

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#can_unarchiveBoolean

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.

Returns:

  • (Boolean)

    the current value of can_unarchive



7
8
9
# File 'lib/tdlib/types/chat_action_bar/report_spam.rb', line 7

def can_unarchive
  @can_unarchive
end