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

Inherits Object.

Description

Describes a message that can be used for quick reply.

Public Fields

int53 id_
 Unique message identifier among all quick replies.
 
object_ptr< MessageSendingStatesending_state_
 The sending state of the message; may be null if the message isn't being sent and didn't fail to be sent.
 
bool can_be_edited_
 True, if the message can be edited.
 
int53 reply_to_message_id_
 The identifier of the quick reply message to which the message replies; 0 if none.
 
int53 via_bot_user_id_
 If non-zero, the user identifier of the bot through which this message was sent.
 
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< MessageContentcontent_
 Content of the message.
 
object_ptr< ReplyMarkupreply_markup_
 Inline keyboard reply markup for the message; may be null if none.
 

Public Instance Methods

 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 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 = -1090965757
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ quickReplyMessage() [1/2]

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.

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: