public static class TdApi.InlineKeyboardButtonTypeLoginUrl extends TdApi.InlineKeyboardButtonType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
forwardText
If non-empty, new text of the button in forwarded messages.
|
long |
id
Unique button identifier.
|
java.lang.String |
url
An HTTP URL to pass to getLoginUrlInfo.
|
| Constructor and Description |
|---|
InlineKeyboardButtonTypeLoginUrl()
A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo.
|
InlineKeyboardButtonTypeLoginUrl(java.lang.String url,
long id,
java.lang.String forwardText)
A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String url
public long id
public java.lang.String forwardText
public static final int CONSTRUCTOR
public InlineKeyboardButtonTypeLoginUrl()
public InlineKeyboardButtonTypeLoginUrl(java.lang.String url,
long id,
java.lang.String forwardText)
url - An HTTP URL to pass to getLoginUrlInfo.id - Unique button identifier.forwardText - If non-empty, new text of the button in forwarded messages.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object