Inherits Object.
Represents a single button in a bot keyboard.
Public Fields | |
string | text_ |
Text of the button. | |
object_ptr< KeyboardButtonType > | type_ |
Type of the button. | |
Public Instance Methods | |
keyboardButton () | |
keyboardButton (string const &text_, object_ptr< KeyboardButtonType > &&type_) | |
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 = -2069836172 |
Identifier uniquely determining a type of the object. | |
keyboardButton | ( | ) |
Represents a single button in a bot keyboard.
keyboardButton | ( | string const & | text_, |
object_ptr< KeyboardButtonType > && | type_ | ||
) |
Represents a single button in a bot keyboard.
[in] | text_ | Text of the button. |
[in] | type_ | Type of the button. |
|
finalvirtual |