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::quickReplyShortcut Class Referencefinal

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

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

Public Member Functions

 quickReplyShortcut ()
 
 quickReplyShortcut (int32 id_, string const &name_, object_ptr< quickReplyMessage > &&first_message_, int32 message_count_)
 
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

int32 id_
 Unique shortcut identifier.
 
string name_
 The name of the shortcut that can be used to use the shortcut.
 
object_ptr< quickReplyMessagefirst_message_
 The first shortcut message.
 
int32 message_count_
 The total number of messages in the shortcut.
 

Static Public Attributes

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

Detailed Description

Describes a shortcut that can be used for a quick reply.

Definition at line 58093 of file td_api.h.

Constructor & Destructor Documentation

◆ quickReplyShortcut() [1/2]

td::td_api::quickReplyShortcut::quickReplyShortcut ( )

Describes a shortcut that can be used for a quick reply.

◆ quickReplyShortcut() [2/2]

td::td_api::quickReplyShortcut::quickReplyShortcut ( int32  id_,
string const &  name_,
object_ptr< quickReplyMessage > &&  first_message_,
int32  message_count_ 
)

Describes a shortcut that can be used for a quick reply.

Parameters
[in]id_Unique shortcut identifier.
[in]name_The name of the shortcut that can be used to use the shortcut.
[in]first_message_The first shortcut message.
[in]message_count_The total number of messages in the shortcut.

Member Function Documentation

◆ store()

void td::td_api::quickReplyShortcut::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

◆ first_message_

object_ptr<quickReplyMessage> td::td_api::quickReplyShortcut::first_message_

The first shortcut message.

Definition at line 58108 of file td_api.h.

◆ ID

const std::int32_t td::td_api::quickReplyShortcut::ID = -1107453291
static

Identifier uniquely determining a type of the object.

Definition at line 58128 of file td_api.h.

◆ id_

int32 td::td_api::quickReplyShortcut::id_

Unique shortcut identifier.

Definition at line 58104 of file td_api.h.

◆ message_count_

int32 td::td_api::quickReplyShortcut::message_count_

The total number of messages in the shortcut.

Definition at line 58110 of file td_api.h.

◆ name_

string td::td_api::quickReplyShortcut::name_

The name of the shortcut that can be used to use the shortcut.

Definition at line 58106 of file td_api.h.


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