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