Inherits MessageContent.
The user allowed the bot to send messages.
Public Fields | |
| object_ptr< BotWriteAccessAllowReason > | reason_ |
| The reason why the bot was allowed to write messages. | |
Public Instance Methods | |
| messageBotWriteAccessAllowed () | |
| messageBotWriteAccessAllowed (object_ptr< BotWriteAccessAllowReason > &&reason_) | |
| 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 = -1702185036 |
| Identifier uniquely determining a type of the object. | |
The user allowed the bot to send messages.
|
explicit |
The user allowed the bot to send messages.
| [in] | reason_ | The reason why the bot was allowed to write messages. |
|
finalvirtual |