Class TdApi.InputMessageReplyToMessage
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.InputMessageReplyTo
dev.voroby.springframework.telegram.client.TdApi.InputMessageReplyToMessage
- Enclosing class:
- TdApi
Describes a message to be replied in the same chat and forum topic.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
The identifier of the message to be replied in the same chat and forum topic.Quote from the message to be replied; pass null if none. -
Constructor Summary
ConstructorDescriptionDescribes a message to be replied in the same chat and forum topic.InputMessageReplyToMessage
(long messageId, TdApi.InputTextQuote quote) Describes a message to be replied in the same chat and forum topic. -
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
-
messageId
public long messageIdThe identifier of the message to be replied in the same chat and forum topic. A message can be replied in the same chat and forum topic only if messageProperties.canBeReplied. -
quote
Quote from the message to be replied; pass null if none. Must always be null for replies in secret chats. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputMessageReplyToMessage
public InputMessageReplyToMessage()Describes a message to be replied in the same chat and forum topic. -
InputMessageReplyToMessage
Describes a message to be replied in the same chat and forum topic.- Parameters:
messageId
- The identifier of the message to be replied in the same chat and forum topic. A message can be replied in the same chat and forum topic only if messageProperties.canBeReplied.quote
- Quote from the message to be replied; pass null if none. Must always be null for replies in secret chats.
-
-
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
-