java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.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
ConstructorDescriptionUserLink()
Contains an HTTPS URL, which can be used to get information about a user.Contains an HTTPS URL, which can be used to get information about a user.Contains an HTTPS URL, which can be used to get information about a user. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, 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.
-
UserLink
Contains an HTTPS URL, which can be used to get information about a user.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-