Inherits MessageReplyTo.
Describes a message replied by a given message.
Public Fields | |
| int53 | chat_id_ |
| The identifier of the chat to which the message belongs; may be 0 if the replied message is in unknown chat. | |
| int53 | message_id_ |
| The identifier of the message; may be 0 if the replied message is in unknown chat. | |
| object_ptr< textQuote > | quote_ |
| Chosen quote from the replied message; may be null if none. | |
| int32 | checklist_task_id_ |
| Identifier of the checklist task in the original message that was replied; 0 if none. | |
| object_ptr< 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. | |
| int32 | origin_send_date_ |
| 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. | |
| object_ptr< 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. Can be only one of the following types: messageAnimation, messageAudio, messageChecklist, messageContact, messageDice, messageDocument, messageGame, messageGiveaway, messageGiveawayWinners, messageInvoice, messageLocation, messagePaidMedia, messagePhoto, messagePoll, messageSticker, messageStory, messageText (for link preview), messageVenue, messageVideo, messageVideoNote, or messageVoiceNote. | |
Public Instance Methods | |
| messageReplyToMessage () | |
| messageReplyToMessage (int53 chat_id_, int53 message_id_, object_ptr< textQuote > &"e_, int32 checklist_task_id_, object_ptr< MessageOrigin > &&origin_, int32 origin_send_date_, object_ptr< MessageContent > &&content_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = -2078029945 |
| Identifier uniquely determining a type of the object. | |
Describes a message replied by a given message.
| messageReplyToMessage | ( | int53 | chat_id_, |
| int53 | message_id_, | ||
| object_ptr< textQuote > && | quote_, | ||
| int32 | checklist_task_id_, | ||
| object_ptr< MessageOrigin > && | origin_, | ||
| int32 | origin_send_date_, | ||
| object_ptr< MessageContent > && | content_ | ||
| ) |
Describes a message replied by a given message.
| [in] | chat_id_ | The identifier of the chat to which the message belongs; may be 0 if the replied message is in unknown chat. |
| [in] | message_id_ | The identifier of the message; may be 0 if the replied message is in unknown chat. |
| [in] | quote_ | Chosen quote from the replied message; may be null if none. |
| [in] | checklist_task_id_ | Identifier of the checklist task in the original message that was replied; 0 if none. |
| [in] | 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. |
| [in] | origin_send_date_ | 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. |
| [in] | 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, messageChecklist, messageContact, messageDice, messageDocument, messageGame, messageGiveaway, messageGiveawayWinners, messageInvoice, messageLocation, messagePaidMedia, messagePhoto, messagePoll, messageSticker, messageStory, messageText (for link preview), messageVenue, messageVideo, messageVideoNote, or messageVoiceNote. |
|
finalvirtual |