public static class TdApi.MessageReplyToMessage extends TdApi.MessageReplyTo
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
The identifier of the chat to which the message belongs; may be 0 if the replied message is in unknown chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.MessageContent |
content
Media content of the message if the message was from another chat or topic; may be null for messages from the same chat and messages without media.
|
long |
messageId
The identifier of the message; may be 0 if the replied message is in unknown chat.
|
TdApi.MessageOrigin |
origin
Information about origin of the message if the message was from another chat or topic; may be null for messages from the same chat.
|
int |
originSendDate
Point in time (Unix timestamp) when the message was sent if the message was from another chat or topic; 0 for messages from the same chat.
|
TdApi.TextQuote |
quote
Chosen quote from the replied message; may be null if none.
|
| Constructor and Description |
|---|
MessageReplyToMessage()
Describes a message replied by a given message.
|
MessageReplyToMessage(long chatId,
long messageId,
TdApi.TextQuote quote,
TdApi.MessageOrigin origin,
int originSendDate,
TdApi.MessageContent content)
Describes a message replied by a given message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageId
public TdApi.TextQuote quote
public TdApi.MessageOrigin origin
public int originSendDate
public TdApi.MessageContent content
public static final int CONSTRUCTOR
public MessageReplyToMessage()
public MessageReplyToMessage(long chatId,
long messageId,
TdApi.TextQuote quote,
TdApi.MessageOrigin origin,
int originSendDate,
TdApi.MessageContent content)
chatId - The identifier of the chat to which the message belongs; may be 0 if the replied message is in unknown chat.messageId - The identifier of the message; may be 0 if the replied message is in unknown chat.quote - Chosen quote from the replied message; may be null if none.origin - Information about origin of the message if the message was from another chat or topic; may be null for messages from the same chat.originSendDate - Point in time (Unix timestamp) when the message was sent if the message was from another chat or topic; 0 for messages from the same chat.content - Media content of the message if the message was from another chat or topic; may be null for messages from the same chat and messages without media. Can be only one of the following types: messageAnimation, messageAudio, messageContact, messageDice, messageDocument, messageGame, messageGiveaway, messageGiveawayWinners, messageInvoice, messageLocation, messagePaidMedia, messagePhoto, messagePoll, messageSticker, messageStory, messageText (for link preview), messageVenue, messageVideo, messageVideoNote, or messageVoiceNote.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object