Package it.tdlight.jni
Class TdApi.MessageSenderUser
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageSender
it.tdlight.jni.TdApi.MessageSenderUser
- Enclosing class:
- TdApi
public static class TdApi.MessageSenderUser extends TdApi.MessageSender
The message was sent by a known user.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
int
userId
Identifier of the user that sent the message. -
Constructor Summary
Constructors Constructor Description MessageSenderUser()
The message was sent by a known user.MessageSenderUser(int userId)
The message was sent by a known user.MessageSenderUser(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 userIdIdentifier of the user that sent the message. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
MessageSenderUser
public MessageSenderUser()The message was sent by a known user. -
MessageSenderUser
public MessageSenderUser(int userId)The message was sent by a known user.- Parameters:
userId
- int Identifier of the user that sent the message.
-
MessageSenderUser
- 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()
-