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

Inherits Object.

Description

Describes a message that can be used for quick reply.

Public Member Functions

 quickReplyMessage ()
 quickReplyMessage (int53 id_, object_ptr< MessageSendingState > &&sending_state_, bool can_be_edited_, int53 reply_to_message_id_, int53 via_bot_user_id_, int64 media_album_id_, object_ptr< MessageContent > &&content_, object_ptr< ReplyMarkup > &&reply_markup_)
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

bool can_be_edited_
 True, if the message can be edited.
object_ptr< MessageContent > content_
 Content of the message.
int53 id_
 Unique message identifier among all quick replies.
int64 media_album_id_
 Unique identifier of an album this message belongs to; 0 if none. Only audios, documents, photos and videos can be grouped together in albums.
object_ptr< ReplyMarkup > reply_markup_
 Inline keyboard reply markup for the message; may be null if none.
int53 reply_to_message_id_
 The identifier of the quick reply message to which the message replies; 0 if none.
object_ptr< MessageSendingState > sending_state_
 The sending state of the message; may be null if the message isn't being sent and didn't fail to be sent.
int53 via_bot_user_id_
 If non-zero, the user identifier of the bot through which this message was sent.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ quickReplyMessage() [1/2]

quickReplyMessage ( )

Describes a message that can be used for quick reply.

◆ quickReplyMessage() [2/2]

quickReplyMessage ( int53 id_,
object_ptr< MessageSendingState > && sending_state_,
bool can_be_edited_,
int53 reply_to_message_id_,
int53 via_bot_user_id_,
int64 media_album_id_,
object_ptr< MessageContent > && content_,
object_ptr< ReplyMarkup > && reply_markup_ )

Describes a message that can be used for quick reply.

Parameters
[in]id_Unique message identifier among all quick replies.
[in]sending_state_The sending state of the message; may be null if the message isn't being sent and didn't fail to be sent.
[in]can_be_edited_True, if the message can be edited.
[in]reply_to_message_id_The identifier of the quick reply message to which the message replies; 0 if none.
[in]via_bot_user_id_If non-zero, the user identifier of the bot through which this message was sent.
[in]media_album_id_Unique identifier of an album this message belongs to; 0 if none. Only audios, documents, photos and videos can be grouped together in albums.
[in]content_Content of the message.
[in]reply_markup_Inline keyboard reply markup for the message; may be null 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: