public static class TdApi.UserLink extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
expiresIn
Left time for which the link is valid, in seconds; 0 if the link is a public username link.
|
java.lang.String |
url
The URL.
|
| Constructor and Description |
|---|
UserLink()
Contains an HTTPS URL, which can be used to get information about a user.
|
UserLink(java.lang.String url,
int expiresIn)
Contains an HTTPS URL, which can be used to get information about a user.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String url
public int expiresIn
public static final int CONSTRUCTOR
public UserLink()
public UserLink(java.lang.String url,
int expiresIn)
url - The URL.expiresIn - Left time for which the link is valid, in seconds; 0 if the link is a public username link.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object