TDLib
Loading...
Searching...
No Matches
inputMessageReplyToMessage Class Referencefinal

Inherits InputMessageReplyTo.

Description

Describes a message to be replied in the same chat and forum topic.

Public Member Functions

 inputMessageReplyToMessage ()
 inputMessageReplyToMessage (int53 message_id_, object_ptr< inputTextQuote > &&quote_, int32 checklist_task_id_, string const &poll_option_id_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

int32 checklist_task_id_
 Identifier of the checklist task in the message to be replied; pass 0 to reply to the whole message.
int53 message_id_
 The identifier of the message to be replied in the same chat and forum topic. A message can be replied in the same chat and forum topic only if messageProperties.can_be_replied.
string poll_option_id_
 Identifier of the poll option in the message to be replied; pass an empty string if none.
object_ptr< inputTextQuote > quote_
 Quote from the message to be replied; pass null if none. Must always be null for replies in secret chats.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ inputMessageReplyToMessage() [1/2]

inputMessageReplyToMessage ( )

Describes a message to be replied in the same chat and forum topic.

◆ inputMessageReplyToMessage() [2/2]

inputMessageReplyToMessage ( int53 message_id_,
object_ptr< inputTextQuote > && quote_,
int32 checklist_task_id_,
string const & poll_option_id_ )

Describes a message to be replied in the same chat and forum topic.

Parameters
[in]message_id_The identifier of the message to be replied in the same chat and forum topic. A message can be replied in the same chat and forum topic only if messageProperties.can_be_replied.
[in]quote_Quote from the message to be replied; pass null if none. Must always be null for replies in secret chats.
[in]checklist_task_id_Identifier of the checklist task in the message to be replied; pass 0 to reply to the whole message.
[in]poll_option_id_Identifier of the poll option in the message to be replied; pass an empty string if none.

Member Function 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: