Package org.drinkless.tdlib
Class TdApi.UserLink
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.UserLink
- Enclosing class:
- TdApi
Contains an HTTPS URL, which can be used to get information about a user.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intLeft time for which the link is valid, in seconds; 0 if the link is a public username link.The URL. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
url
The URL. -
expiresIn
public int expiresInLeft time for which the link is valid, in seconds; 0 if the link is a public username link. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UserLink
public UserLink()Contains an HTTPS URL, which can be used to get information about a user. -
UserLink
Contains an HTTPS URL, which can be used to get information about a user.- Parameters:
url- The URL.expiresIn- Left time for which the link is valid, in seconds; 0 if the link is a public username link.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-