public static class TdApi.GetLoginUrl extends TdApi.Function<TdApi.HttpUrl>
Returns HttpUrl
| Modifier and Type | Field and Description |
|---|---|
boolean |
allowWriteAccess
Pass true to allow the bot to send messages to the current user.
|
long |
buttonId
Button identifier.
|
long |
chatId
Chat identifier of the message with the button.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
messageId
Message identifier of the message with the button.
|
| Constructor and Description |
|---|
GetLoginUrl()
Default constructor for a function, which returns an HTTP URL which can be used to automatically authorize the user on a website after clicking an inline button of type inlineKeyboardButtonTypeLoginUrl.
|
GetLoginUrl(long chatId,
long messageId,
long buttonId,
boolean allowWriteAccess)
Creates a function, which returns an HTTP URL which can be used to automatically authorize the user on a website after clicking an inline button of type inlineKeyboardButtonTypeLoginUrl.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageId
public long buttonId
public boolean allowWriteAccess
public static final int CONSTRUCTOR
public GetLoginUrl()
Returns HttpUrl
public GetLoginUrl(long chatId,
long messageId,
long buttonId,
boolean allowWriteAccess)
Returns HttpUrl
chatId - Chat identifier of the message with the button.messageId - Message identifier of the message with the button.buttonId - Button identifier.allowWriteAccess - Pass true to allow the bot to send messages to the current user.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object