public static class TdApi.InlineKeyboardButtonTypeLoginUrl extends TdApi.InlineKeyboardButtonType
TdApi.InlineKeyboardButtonType.Constructors
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 open.
|
Constructor and Description |
---|
InlineKeyboardButtonTypeLoginUrl()
A button that opens a specified URL and automatically authorize the current user if allowed to do so.
|
InlineKeyboardButtonTypeLoginUrl(java.lang.String url,
long id,
java.lang.String forwardText)
A button that opens a specified URL and automatically authorize the current user if allowed to do so.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public 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 open.id
- Unique button identifier.forwardText
- If non-empty, new text of the button in forwarded messages.public int getConstructor()
getConstructor
in class TdApi.InlineKeyboardButtonType