Class TdApi.MessageSenderUser
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.MessageSender
dev.voroby.springframework.telegram.client.TdApi.MessageSenderUser
- Enclosing class:
- TdApi
The message was sent by a known user.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
Identifier of the user that sent the message. -
Constructor Summary
ConstructorDescriptionThe message was sent by a known user.MessageSenderUser
(long userId) The message was sent by a known user. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
userId
public long userIdIdentifier of the user that sent the message. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageSenderUser
public MessageSenderUser()The message was sent by a known user. -
MessageSenderUser
public MessageSenderUser(long userId) The message was sent by a known user.- Parameters:
userId
- Identifier of the user that sent the message.
-
-
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
-