Inherits Object.
Contains information about the availability of the "Report spam" action for a chat.
Public Fields | |
bool | can_report_spam_ |
True, if a prompt with the "Report spam" action should be shown to the user. | |
Public Instance Methods | |
chatReportSpamState () | |
chatReportSpamState (bool can_report_spam_) | |
std::int32_t | get_id () const final |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -1919240972 |
Identifier uniquely determining a type of the object. | |
Contains information about the availability of the "Report spam" action for a chat.
|
explicit |
Contains information about the availability of the "Report spam" action for a chat.
[in] | can_report_spam_ | True, if a prompt with the "Report spam" action should be shown to the user. |
|
inlinefinalvirtual |
|
finalvirtual |