|
TDLib
|
Inherits Object.
Represents a command supported by a bot.
Public Member Functions | |
| botCommand () | |
| botCommand (string const &command_, string const &description_, bool is_ephemeral_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| string | command_ |
| Text of the bot command. | |
| string | description_ |
| Description of the bot command. | |
| bool | is_ephemeral_ |
| True, if the command must send an ephemeral message instead of a regular one. | |
Static Public Attributes | |
| static const std::int32_t | ID = -1614592393 |
| Identifier uniquely determining a type of the object. | |
| botCommand | ( | ) |
Represents a command supported by a bot.
Represents a command supported by a bot.
| [in] | command_ | Text of the bot command. |
| [in] | description_ | Description of the bot command. |
| [in] | is_ephemeral_ | True, if the command must send an ephemeral message instead of a regular one. |
|
finalvirtual |