Class TdApi.UserLink
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.UserLink
- Enclosing class:
- TdApi
Contains an HTTPS URL, which can be used to get information about a user.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
Left time for which the link is valid, in seconds; 0 if the link is a public username link.The URL. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-