Class TdApi.InputMessageReplyToExternalMessage
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.InputMessageReplyTo
dev.voroby.springframework.telegram.client.TdApi.InputMessageReplyToExternalMessage
- Enclosing class:
- TdApi
Describes a message to be replied that is from a different chat or a forum topic; not supported in secret chats.
-
Field Summary
Modifier and TypeFieldDescriptionlong
The identifier of the chat to which the message to be replied belongs.static final int
Identifier uniquely determining type of the object.long
The identifier of the message to be replied in the specified chat.Quote from the message to be replied; pass null if none. -
Constructor Summary
ConstructorDescriptionDescribes a message to be replied that is from a different chat or a forum topic; not supported in secret chats.InputMessageReplyToExternalMessage
(long chatId, long messageId, TdApi.InputTextQuote quote) Describes a message to be replied that is from a different chat or a forum topic; not supported in secret chats. -
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
-
chatId
public long chatIdThe identifier of the chat to which the message to be replied belongs. -
messageId
public long messageIdThe identifier of the message to be replied in the specified chat. A message can be replied in another chat or forum topic only if messageProperties.canBeRepliedInAnotherChat. -
quote
Quote from the message to be replied; pass null if none. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputMessageReplyToExternalMessage
public InputMessageReplyToExternalMessage()Describes a message to be replied that is from a different chat or a forum topic; not supported in secret chats. -
InputMessageReplyToExternalMessage
Describes a message to be replied that is from a different chat or a forum topic; not supported in secret chats.- Parameters:
chatId
- The identifier of the chat to which the message to be replied belongs.messageId
- The identifier of the message to be replied in the specified chat. A message can be replied in another chat or forum topic only if messageProperties.canBeRepliedInAnotherChat.quote
- Quote from the message to be replied; pass null if none.
-
-
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
-