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