|
tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
|
#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
Public Member Functions | |
| messageReplyToMessage () | |
| messageReplyToMessage (int53 chat_id_, int53 message_id_, object_ptr< textQuote > &"e_, int32 checklist_task_id_, string const &poll_option_id_, object_ptr< MessageOrigin > &&origin_, int32 origin_send_date_, object_ptr< MessageContent > &&content_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::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 |
Public Attributes | |
| 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. | |
| string | poll_option_id_ |
| Identifier of the poll option in the original message that was replied; empty 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, messageStakeDice, messageSticker, messageStory, messageText (for link preview), messageVenue, messageVideo, messageVideoNote, or messageVoiceNote. | |
Static Public Attributes | |
| static const std::int32_t | ID = -203917195 |
| Identifier uniquely determining a type of the object. | |
| td::td_api::messageReplyToMessage::messageReplyToMessage | ( | ) |
Describes a message replied by a given message.
| td::td_api::messageReplyToMessage::messageReplyToMessage | ( | int53 | chat_id_, |
| int53 | message_id_, | ||
| object_ptr< textQuote > && | quote_, | ||
| int32 | checklist_task_id_, | ||
| string const & | poll_option_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] | poll_option_id_ | Identifier of the poll option in the original message that was replied; empty 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, messageStakeDice, messageSticker, messageStory, messageText (for link preview), messageVenue, messageVideo, messageVideoNote, or messageVoiceNote. |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
| int53 td::td_api::messageReplyToMessage::chat_id_ |
| int32 td::td_api::messageReplyToMessage::checklist_task_id_ |
| object_ptr<MessageContent> td::td_api::messageReplyToMessage::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, messageStakeDice, messageSticker, messageStory, messageText (for link preview), messageVenue, messageVideo, messageVideoNote, or messageVoiceNote.
|
static |
| int53 td::td_api::messageReplyToMessage::message_id_ |
| object_ptr<MessageOrigin> td::td_api::messageReplyToMessage::origin_ |
| int32 td::td_api::messageReplyToMessage::origin_send_date_ |
| string td::td_api::messageReplyToMessage::poll_option_id_ |
| object_ptr<textQuote> td::td_api::messageReplyToMessage::quote_ |