Class: TD::Types::ChatReportSpamState

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/chat_report_spam_state.rb

Overview

Contains information about the availability of the "Report spam" action for a chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#can_report_spamBoolean

True, if a prompt with the "Report spam" action should be shown to the user.

Returns:

  • (Boolean)

    the current value of can_report_spam



5
6
7
# File 'lib/tdlib/types/chat_report_spam_state.rb', line 5

def can_report_spam
  @can_report_spam
end