List of all members | Public Fields | Public Instance Methods | Static Public Attributes
messageReplyToMessage Class Referencefinal

Inherits MessageReplyTo.

Description

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< textQuotequote_
 Chosen quote from the replied message; may be null 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, 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 > &&quote_, 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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = -300918393
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ messageReplyToMessage() [1/2]

Describes a message replied by a given message.

◆ messageReplyToMessage() [2/2]

messageReplyToMessage ( int53  chat_id_,
int53  message_id_,
object_ptr< textQuote > &&  quote_,
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]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, messageContact, messageDice, messageDocument, messageGame, messageGiveaway, messageGiveawayWinners, messageInvoice, messageLocation, messagePaidMedia, messagePhoto, messagePoll, messageSticker, messageStory, messageText (for link preview), messageVenue, messageVideo, messageVideoNote, or messageVoiceNote.

Method Documentation

◆ store()

void 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 TlObject.


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