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

Inherits Object.

Description

Contains information about a business bot that manages the chat.

Public Member Functions

 businessBotManageBar ()
 businessBotManageBar (int53 bot_user_id_, string const &manage_url_, bool is_bot_paused_, bool can_bot_reply_)
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

int53 bot_user_id_
 User identifier of the bot.
bool can_bot_reply_
 True, if the bot can reply.
bool is_bot_paused_
 True, if the bot is paused. Use toggleBusinessConnectedBotChatIsPaused to change the value of the field.
string manage_url_
 URL to be opened to manage the bot.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ businessBotManageBar() [1/2]

businessBotManageBar ( )

Contains information about a business bot that manages the chat.

◆ businessBotManageBar() [2/2]

businessBotManageBar ( int53 bot_user_id_,
string const & manage_url_,
bool is_bot_paused_,
bool can_bot_reply_ )

Contains information about a business bot that manages the chat.

Parameters
[in]bot_user_id_User identifier of the bot.
[in]manage_url_URL to be opened to manage the bot.
[in]is_bot_paused_True, if the bot is paused. Use toggleBusinessConnectedBotChatIsPaused to change the value of the field.
[in]can_bot_reply_True, if the bot can reply.

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: