tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::messageReplyToMessage Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::messageReplyToMessage:
td::td_api::MessageReplyTo td::td_api::Object td::TlObject

Public Member Functions

 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_)
 
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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (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< textQuotequote_
 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< MessageOriginorigin_
 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< MessageContentcontent_
 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.
 

Detailed Description

Describes a message replied by a given message.

Definition at line 44659 of file td_api.h.

Constructor & Destructor Documentation

◆ messageReplyToMessage() [1/2]

td::td_api::messageReplyToMessage::messageReplyToMessage ( )

Describes a message replied by a given message.

◆ messageReplyToMessage() [2/2]

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.

Parameters
[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.

Member Function Documentation

◆ store()

void td::td_api::messageReplyToMessage::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ chat_id_

int53 td::td_api::messageReplyToMessage::chat_id_

The identifier of the chat to which the message belongs; may be 0 if the replied message is in unknown chat.

Definition at line 44670 of file td_api.h.

◆ checklist_task_id_

int32 td::td_api::messageReplyToMessage::checklist_task_id_

Identifier of the checklist task in the original message that was replied; 0 if none.

Definition at line 44676 of file td_api.h.

◆ content_

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.

Definition at line 44684 of file td_api.h.

◆ ID

const std::int32_t td::td_api::messageReplyToMessage::ID = -203917195
static

Identifier uniquely determining a type of the object.

Definition at line 44706 of file td_api.h.

◆ message_id_

int53 td::td_api::messageReplyToMessage::message_id_

The identifier of the message; may be 0 if the replied message is in unknown chat.

Definition at line 44672 of file td_api.h.

◆ origin_

object_ptr<MessageOrigin> td::td_api::messageReplyToMessage::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.

Definition at line 44680 of file td_api.h.

◆ origin_send_date_

int32 td::td_api::messageReplyToMessage::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.

Definition at line 44682 of file td_api.h.

◆ poll_option_id_

string td::td_api::messageReplyToMessage::poll_option_id_

Identifier of the poll option in the original message that was replied; empty if none.

Definition at line 44678 of file td_api.h.

◆ quote_

object_ptr<textQuote> td::td_api::messageReplyToMessage::quote_

Chosen quote from the replied message; may be null if none.

Definition at line 44674 of file td_api.h.


The documentation for this class was generated from the following file: