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

Inherits InputMessageReplyTo.

Description

Describes a message to be replied that is from a different chat or a forum topic; not supported in secret chats.

Public Member Functions

 inputMessageReplyToExternalMessage ()
 inputMessageReplyToExternalMessage (int53 chat_id_, 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

int53 chat_id_
 The identifier of the chat to which the message to be replied belongs.
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 specified chat. A message can be replied in another chat or forum topic only if messageProperties.can_be_replied_in_another_chat.
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.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ inputMessageReplyToExternalMessage() [1/2]

inputMessageReplyToExternalMessage ( )

Describes a message to be replied that is from a different chat or a forum topic; not supported in secret chats.

◆ inputMessageReplyToExternalMessage() [2/2]

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

Describes a message to be replied that is from a different chat or a forum topic; not supported in secret chats.

Parameters
[in]chat_id_The identifier of the chat to which the message to be replied belongs.
[in]message_id_The identifier of the message to be replied in the specified chat. A message can be replied in another chat or forum topic only if messageProperties.can_be_replied_in_another_chat.
[in]quote_Quote from the message to be replied; pass null if none.
[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: