Inherits Object.
Represents a single button in a bot keyboard.
Public Fields | |
| string | text_ |
| Text of the button. | |
| int64 | icon_custom_emoji_id_ |
| Identifier of the custom emoji that must be shown on the button; 0 if none. | |
| object_ptr< ButtonStyle > | style_ |
| Style of the button. | |
| object_ptr< KeyboardButtonType > | type_ |
| Type of the button. | |
Public Instance Methods | |
| keyboardButton () | |
| keyboardButton (string const &text_, int64 icon_custom_emoji_id_, object_ptr< ButtonStyle > &&style_, 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 = -405853143 |
| Identifier uniquely determining a type of the object. | |
| keyboardButton | ( | ) |
Represents a single button in a bot keyboard.
| keyboardButton | ( | string const & | text_, |
| int64 | icon_custom_emoji_id_, | ||
| object_ptr< ButtonStyle > && | style_, | ||
| object_ptr< KeyboardButtonType > && | type_ | ||
| ) |
Represents a single button in a bot keyboard.
| [in] | text_ | Text of the button. |
| [in] | icon_custom_emoji_id_ | Identifier of the custom emoji that must be shown on the button; 0 if none. |
| [in] | style_ | Style of the button. |
| [in] | type_ | Type of the button. |
|
finalvirtual |