Inherits InlineKeyboardButtonType.
A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo.
Public Fields | |
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. | |
Public Instance Methods | |
inlineKeyboardButtonTypeLoginUrl () | |
inlineKeyboardButtonTypeLoginUrl (string const &url_, int53 id_, string const &forward_text_) | |
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 = -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 | ( | 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.
[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. |
|
finalvirtual |