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
long
userId
User identifier. -
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput 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 long 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(long 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
- long 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()
-