Inherits td::td_api::Function.
|
int53 | chat_id_ |
| Chat identifier of the message with the button.
|
|
int53 | message_id_ |
| Message identifier of the message with the button.
|
|
int53 | button_id_ |
| Button identifier.
|
|
|
static const std::int32_t | ID = -859202125 |
| Identifier uniquely determining a type of the object.
|
|
Returns information about a button of type inlineKeyboardButtonTypeLoginUrl. The method needs to be called when the user presses the button.
Returns object_ptr<LoginUrlInfo>.
◆ getLoginUrlInfo() [1/2]
td::td_api::getLoginUrlInfo::getLoginUrlInfo |
( |
| ) |
|
Default constructor for a function, which returns information about a button of type inlineKeyboardButtonTypeLoginUrl. The method needs to be called when the user presses the button.
Returns object_ptr<LoginUrlInfo>.
◆ getLoginUrlInfo() [2/2]
td::td_api::getLoginUrlInfo::getLoginUrlInfo |
( |
int53 |
chat_id_, |
|
|
int53 |
message_id_, |
|
|
int53 |
button_id_ |
|
) |
| |
Creates a function, which returns information about a button of type inlineKeyboardButtonTypeLoginUrl. The method needs to be called when the user presses the button.
Returns object_ptr<LoginUrlInfo>.
- Parameters
-
[in] | chat_id_ | Chat identifier of the message with the button. |
[in] | message_id_ | Message identifier of the message with the button. |
[in] | button_id_ | Button identifier. |
◆ get_id()
std::int32_t td::td_api::getLoginUrlInfo::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::getLoginUrlInfo::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] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: