Class TdApi.MessageOriginChat
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.MessageOrigin
dev.voroby.springframework.telegram.client.TdApi.MessageOriginChat
- Enclosing class:
- TdApi
The message was originally sent on behalf of a chat.
-
Field Summary
Modifier and TypeFieldDescriptionFor messages originally sent by an anonymous chat administrator, original message author signature.static final int
Identifier uniquely determining type of the object.long
Identifier of the chat that originally sent the message. -
Constructor Summary
ConstructorDescriptionThe message was originally sent on behalf of a chat.MessageOriginChat
(long senderChatId, String authorSignature) The message was originally sent on behalf of a chat. -
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
-
senderChatId
public long senderChatIdIdentifier of the chat that originally sent the message. -
authorSignature
For messages originally sent by an anonymous chat administrator, original message author signature. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageOriginChat
public MessageOriginChat()The message was originally sent on behalf of a chat. -
MessageOriginChat
The message was originally sent on behalf of a chat.- Parameters:
senderChatId
- Identifier of the chat that originally sent the message.authorSignature
- For messages originally sent by an anonymous chat administrator, original message author signature.
-
-
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
-