|
TDLib
|
Inherits Function.
Saves a keyboard button to be shown to the given user; for bots only.
Returns object_ptr<Text>.
Public Types | |
| using | ReturnType = object_ptr<text> |
| Typedef for the type returned by the function. | |
Public Member Functions | |
| savePreparedKeyboardButton () | |
| savePreparedKeyboardButton (int53 user_id_, object_ptr< keyboardButton > &&button_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| object_ptr< keyboardButton > | button_ |
| The button; must be of the type keyboardButtonTypeRequestUsers, keyboardButtonTypeRequestChat, or keyboardButtonTypeRequestManagedBot. | |
| int53 | user_id_ |
| Identifier of the user. | |
Static Public Attributes | |
| static const std::int32_t | ID = -894817192 |
| Identifier uniquely determining a type of the object. | |
| savePreparedKeyboardButton | ( | ) |
Default constructor for a function, which saves a keyboard button to be shown to the given user; for bots only.
Returns object_ptr<Text>.
| savePreparedKeyboardButton | ( | int53 | user_id_, |
| object_ptr< keyboardButton > && | button_ ) |
Creates a function, which saves a keyboard button to be shown to the given user; for bots only.
Returns object_ptr<Text>.
| [in] | user_id_ | Identifier of the user. |
| [in] | button_ | The button; must be of the type keyboardButtonTypeRequestUsers, keyboardButtonTypeRequestChat, or keyboardButtonTypeRequestManagedBot. |
|
finalvirtual |