Package it.tdlight.jni
Class TdApi.UpdateUserStatus
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateUserStatus
- Enclosing class:
- TdApi
public static class TdApi.UpdateUserStatus extends TdApi.Update
The user went online or offline.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.UserStatus
status
New status of the user.int
userId
User identifier. -
Constructor Summary
Constructors Constructor Description UpdateUserStatus()
The user went online or offline.UpdateUserStatus(int userId, TdApi.UserStatus status)
The user went online or offline.UpdateUserStatus(DataInput input)
-
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.Object
serialize, toString
-
Field Details
-
userId
public int userIdUser identifier. -
status
New status of the user. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
UpdateUserStatus
public UpdateUserStatus()The user went online or offline. -
UpdateUserStatus
The user went online or offline.- Parameters:
userId
- int User identifier.status
- UserStatus New status of the user.
-
UpdateUserStatus
- 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()
-