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

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

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

Public Member Functions

 botCommands ()
 
 botCommands (int53 bot_user_id_, array< object_ptr< botCommand > > &&commands_)
 
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 bot_user_id_
 Bot&#x27;s user identifier.
 
array< object_ptr< botCommand > > commands_
 List of bot commands.
 

Static Public Attributes

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

Detailed Description

Contains a list of bot commands.

Definition at line 4541 of file td_api.h.

Constructor & Destructor Documentation

◆ botCommands() [1/2]

td::td_api::botCommands::botCommands ( )

Contains a list of bot commands.

◆ botCommands() [2/2]

td::td_api::botCommands::botCommands ( int53  bot_user_id_,
array< object_ptr< botCommand > > &&  commands_ 
)

Contains a list of bot commands.

Parameters
[in]bot_user_id_Bot&#x27;s user identifier.
[in]commands_List of bot commands.

Member Function Documentation

◆ store()

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

◆ bot_user_id_

int53 td::td_api::botCommands::bot_user_id_

Bot&#x27;s user identifier.

Definition at line 4552 of file td_api.h.

◆ commands_

array<object_ptr<botCommand> > td::td_api::botCommands::commands_

List of bot commands.

Definition at line 4554 of file td_api.h.

◆ ID

const std::int32_t td::td_api::botCommands::ID = 1741364468
static

Identifier uniquely determining a type of the object.

Definition at line 4570 of file td_api.h.


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