public static class TdApi.GetLoginUrl extends TdApi.Function
Returns HttpUrl
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
boolean |
allowWriteAccess
True, if the user allowed the bot to send them messages.
|
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() |
toString
public 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
- True, if the user allowed the bot to send them messages.public int getConstructor()
getConstructor
in class TdApi.Function