tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::quickReplyMessage Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::quickReplyMessage:
td::td_api::Object td::TlObject

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 td::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
 

Public Attributes

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&#x27;t being sent and didn&#x27;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.
 

Static Public Attributes

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

Detailed Description

Describes a message that can be used for quick reply.

Definition at line 57990 of file td_api.h.

Constructor & Destructor Documentation

◆ quickReplyMessage() [1/2]

td::td_api::quickReplyMessage::quickReplyMessage ( )

Describes a message that can be used for quick reply.

◆ quickReplyMessage() [2/2]

td::td_api::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_ 
)

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&#x27;t being sent and didn&#x27;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 td::td_api::quickReplyMessage::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 td::TlObject.

Member Data Documentation

◆ can_be_edited_

bool td::td_api::quickReplyMessage::can_be_edited_

True, if the message can be edited.

Definition at line 58005 of file td_api.h.

◆ content_

object_ptr<MessageContent> td::td_api::quickReplyMessage::content_

Content of the message.

Definition at line 58013 of file td_api.h.

◆ ID

const std::int32_t td::td_api::quickReplyMessage::ID = -1090965757
static

Identifier uniquely determining a type of the object.

Definition at line 58037 of file td_api.h.

◆ id_

int53 td::td_api::quickReplyMessage::id_

Unique message identifier among all quick replies.

Definition at line 58001 of file td_api.h.

◆ media_album_id_

int64 td::td_api::quickReplyMessage::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.

Definition at line 58011 of file td_api.h.

◆ reply_markup_

object_ptr<ReplyMarkup> td::td_api::quickReplyMessage::reply_markup_

Inline keyboard reply markup for the message; may be null if none.

Definition at line 58015 of file td_api.h.

◆ reply_to_message_id_

int53 td::td_api::quickReplyMessage::reply_to_message_id_

The identifier of the quick reply message to which the message replies; 0 if none.

Definition at line 58007 of file td_api.h.

◆ sending_state_

object_ptr<MessageSendingState> td::td_api::quickReplyMessage::sending_state_

The sending state of the message; may be null if the message isn&#x27;t being sent and didn&#x27;t fail to be sent.

Definition at line 58003 of file td_api.h.

◆ via_bot_user_id_

int53 td::td_api::quickReplyMessage::via_bot_user_id_

If non-zero, the user identifier of the bot through which this message was sent.

Definition at line 58009 of file td_api.h.


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