Package it.tdlight.jni
Class TdApi.GetUser
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetUser
- Enclosing class:
- TdApi
public static class TdApi.GetUser extends TdApi.Function
Returns information about a user by
their identifier. This is an offline
request if the current user is not a bot.
Returns User
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
userId
User identifier. -
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
userId
public int userIdUser identifier. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetUser
public GetUser()Returns information about a user by their identifier. This is an offline request if the current user is not a bot.Returns
User
-
GetUser
public GetUser(int userId)Returns information about a user by their identifier. This is an offline request if the current user is not a bot.Returns
User
- Parameters:
userId
- int User identifier.
-
GetUser
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-