public static class TdApi.GetExternalLink extends TdApi.Function<TdApi.HttpUrl>
Returns HttpUrl
| Modifier and Type | Field and Description |
|---|---|
boolean |
allowWriteAccess
Pass true if the current user allowed the bot, returned in getExternalLinkInfo, to send them messages.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
link
The HTTP link.
|
| Constructor and Description |
|---|
GetExternalLink()
Default constructor for a function, which returns an HTTP URL which can be used to automatically authorize the current user on a website after clicking an HTTP link.
|
GetExternalLink(java.lang.String link,
boolean allowWriteAccess)
Creates a function, which returns an HTTP URL which can be used to automatically authorize the current user on a website after clicking an HTTP link.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String link
public boolean allowWriteAccess
public static final int CONSTRUCTOR
public GetExternalLink()
Returns HttpUrl
public GetExternalLink(java.lang.String link,
boolean allowWriteAccess)
Returns HttpUrl
link - The HTTP link.allowWriteAccess - Pass true if the current user allowed the bot, returned in getExternalLinkInfo, to send them messages.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object