Inherits Object.
Represents a command supported by a bot.
Public Fields | |
string | command_ |
Text of the bot command. | |
string | description_ |
Description of the bot command. | |
Public Instance Methods | |
botCommand () | |
botCommand (string const &command_, string const &description_) | |
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 = -1032140601 |
Identifier uniquely determining a type of the object. | |
botCommand | ( | ) |
Represents a command supported by a bot.
botCommand | ( | string const & | command_, |
string const & | description_ | ||
) |
Represents a command supported by a bot.
[in] | command_ | Text of the bot command. |
[in] | description_ | Description of the bot command. |
|
finalvirtual |