Inherits td::td_api::InlineKeyboardButtonType.
|
string | url_ |
| An HTTP URL to pass to getLoginUrlInfo.
|
|
int53 | id_ |
| Unique button identifier.
|
|
string | forward_text_ |
| If non-empty, new text of the button in forwarded messages.
|
|
|
static const std::int32_t | ID = -1203413081 |
| Identifier uniquely determining a type of the object.
|
|
A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo.
◆ inlineKeyboardButtonTypeLoginUrl() [1/2]
td::td_api::inlineKeyboardButtonTypeLoginUrl::inlineKeyboardButtonTypeLoginUrl |
( |
| ) |
|
A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo.
◆ inlineKeyboardButtonTypeLoginUrl() [2/2]
td::td_api::inlineKeyboardButtonTypeLoginUrl::inlineKeyboardButtonTypeLoginUrl |
( |
string const & |
url_, |
|
|
int53 |
id_, |
|
|
string const & |
forward_text_ |
|
) |
| |
A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo.
- Parameters
-
[in] | url_ | An HTTP URL to pass to getLoginUrlInfo. |
[in] | id_ | Unique button identifier. |
[in] | forward_text_ | If non-empty, new text of the button in forwarded messages. |
◆ get_id()
std::int32_t td::td_api::inlineKeyboardButtonTypeLoginUrl::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::inlineKeyboardButtonTypeLoginUrl::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: