tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::inlineKeyboardButton Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::inlineKeyboardButton:
td::td_api::Object td::TlObject

Public Member Functions

 inlineKeyboardButton ()
 
 inlineKeyboardButton (string const &text_, int64 icon_custom_emoji_id_, object_ptr< ButtonStyle > &&style_, object_ptr< InlineKeyboardButtonType > &&type_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

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< ButtonStylestyle_
 Style of the button.
 
object_ptr< InlineKeyboardButtonTypetype_
 Type of the button.
 

Static Public Attributes

static const std::int32_t ID = 1457530830
 Identifier uniquely determining a type of the object.
 

Detailed Description

Represents a single button in an inline keyboard.

Definition at line 25730 of file td_api.h.

Constructor & Destructor Documentation

◆ inlineKeyboardButton() [1/2]

td::td_api::inlineKeyboardButton::inlineKeyboardButton ( )

Represents a single button in an inline keyboard.

◆ inlineKeyboardButton() [2/2]

td::td_api::inlineKeyboardButton::inlineKeyboardButton ( string const &  text_,
int64  icon_custom_emoji_id_,
object_ptr< ButtonStyle > &&  style_,
object_ptr< InlineKeyboardButtonType > &&  type_ 
)

Represents a single button in an inline keyboard.

Parameters
[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.

Member Function Documentation

◆ store()

void td::td_api::inlineKeyboardButton::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ icon_custom_emoji_id_

int64 td::td_api::inlineKeyboardButton::icon_custom_emoji_id_

Identifier of the custom emoji that must be shown on the button; 0 if none.

Definition at line 25743 of file td_api.h.

◆ ID

const std::int32_t td::td_api::inlineKeyboardButton::ID = 1457530830
static

Identifier uniquely determining a type of the object.

Definition at line 25765 of file td_api.h.

◆ style_

object_ptr<ButtonStyle> td::td_api::inlineKeyboardButton::style_

Style of the button.

Definition at line 25745 of file td_api.h.

◆ text_

string td::td_api::inlineKeyboardButton::text_

Text of the button.

Definition at line 25741 of file td_api.h.

◆ type_

object_ptr<InlineKeyboardButtonType> td::td_api::inlineKeyboardButton::type_

Type of the button.

Definition at line 25747 of file td_api.h.


The documentation for this class was generated from the following file: