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

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

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

Public Member Functions

 businessBotRights ()
 
 businessBotRights (bool can_reply_, bool can_read_messages_, bool can_delete_sent_messages_, bool can_delete_all_messages_, bool can_edit_name_, bool can_edit_bio_, bool can_edit_profile_photo_, bool can_edit_username_, bool can_view_gifts_and_stars_, bool can_sell_gifts_, bool can_change_gift_settings_, bool can_transfer_and_upgrade_gifts_, bool can_transfer_stars_, bool can_manage_stories_)
 
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

bool can_reply_
 True, if the bot can send and edit messages in the private chats that had incoming messages in the last 24 hours.
 
bool can_read_messages_
 True, if the bot can mark incoming private messages as read.
 
bool can_delete_sent_messages_
 True, if the bot can delete sent messages.
 
bool can_delete_all_messages_
 True, if the bot can delete any message.
 
bool can_edit_name_
 True, if the bot can edit name of the business account.
 
bool can_edit_bio_
 True, if the bot can edit bio of the business account.
 
bool can_edit_profile_photo_
 True, if the bot can edit profile photo of the business account.
 
bool can_edit_username_
 True, if the bot can edit username of the business account.
 
bool can_view_gifts_and_stars_
 True, if the bot can view gifts and Telegram Star amount owned by the business account.
 
bool can_sell_gifts_
 True, if the bot can sell regular gifts received by the business account.
 
bool can_change_gift_settings_
 True, if the bot can change gift receiving settings of the business account.
 
bool can_transfer_and_upgrade_gifts_
 True, if the bot can transfer and upgrade gifts received by the business account.
 
bool can_transfer_stars_
 True, if the bot can transfer Telegram Stars received by the business account to account of the bot, or use them to upgrade and transfer gifts.
 
bool can_manage_stories_
 True, if the bot can post, edit and delete stories.
 

Static Public Attributes

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

Detailed Description

Describes rights of a business bot.

Definition at line 5488 of file td_api.h.

Constructor & Destructor Documentation

◆ businessBotRights() [1/2]

td::td_api::businessBotRights::businessBotRights ( )

Describes rights of a business bot.

◆ businessBotRights() [2/2]

td::td_api::businessBotRights::businessBotRights ( bool  can_reply_,
bool  can_read_messages_,
bool  can_delete_sent_messages_,
bool  can_delete_all_messages_,
bool  can_edit_name_,
bool  can_edit_bio_,
bool  can_edit_profile_photo_,
bool  can_edit_username_,
bool  can_view_gifts_and_stars_,
bool  can_sell_gifts_,
bool  can_change_gift_settings_,
bool  can_transfer_and_upgrade_gifts_,
bool  can_transfer_stars_,
bool  can_manage_stories_ 
)

Describes rights of a business bot.

Parameters
[in]can_reply_True, if the bot can send and edit messages in the private chats that had incoming messages in the last 24 hours.
[in]can_read_messages_True, if the bot can mark incoming private messages as read.
[in]can_delete_sent_messages_True, if the bot can delete sent messages.
[in]can_delete_all_messages_True, if the bot can delete any message.
[in]can_edit_name_True, if the bot can edit name of the business account.
[in]can_edit_bio_True, if the bot can edit bio of the business account.
[in]can_edit_profile_photo_True, if the bot can edit profile photo of the business account.
[in]can_edit_username_True, if the bot can edit username of the business account.
[in]can_view_gifts_and_stars_True, if the bot can view gifts and Telegram Star amount owned by the business account.
[in]can_sell_gifts_True, if the bot can sell regular gifts received by the business account.
[in]can_change_gift_settings_True, if the bot can change gift receiving settings of the business account.
[in]can_transfer_and_upgrade_gifts_True, if the bot can transfer and upgrade gifts received by the business account.
[in]can_transfer_stars_True, if the bot can transfer Telegram Stars received by the business account to account of the bot, or use them to upgrade and transfer gifts.
[in]can_manage_stories_True, if the bot can post, edit and delete stories.

Member Function Documentation

◆ store()

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

bool td::td_api::businessBotRights::can_change_gift_settings_

True, if the bot can change gift receiving settings of the business account.

Definition at line 5519 of file td_api.h.

◆ can_delete_all_messages_

bool td::td_api::businessBotRights::can_delete_all_messages_

True, if the bot can delete any message.

Definition at line 5505 of file td_api.h.

◆ can_delete_sent_messages_

bool td::td_api::businessBotRights::can_delete_sent_messages_

True, if the bot can delete sent messages.

Definition at line 5503 of file td_api.h.

◆ can_edit_bio_

bool td::td_api::businessBotRights::can_edit_bio_

True, if the bot can edit bio of the business account.

Definition at line 5509 of file td_api.h.

◆ can_edit_name_

bool td::td_api::businessBotRights::can_edit_name_

True, if the bot can edit name of the business account.

Definition at line 5507 of file td_api.h.

◆ can_edit_profile_photo_

bool td::td_api::businessBotRights::can_edit_profile_photo_

True, if the bot can edit profile photo of the business account.

Definition at line 5511 of file td_api.h.

◆ can_edit_username_

bool td::td_api::businessBotRights::can_edit_username_

True, if the bot can edit username of the business account.

Definition at line 5513 of file td_api.h.

◆ can_manage_stories_

bool td::td_api::businessBotRights::can_manage_stories_

True, if the bot can post, edit and delete stories.

Definition at line 5525 of file td_api.h.

◆ can_read_messages_

bool td::td_api::businessBotRights::can_read_messages_

True, if the bot can mark incoming private messages as read.

Definition at line 5501 of file td_api.h.

◆ can_reply_

bool td::td_api::businessBotRights::can_reply_

True, if the bot can send and edit messages in the private chats that had incoming messages in the last 24 hours.

Definition at line 5499 of file td_api.h.

◆ can_sell_gifts_

bool td::td_api::businessBotRights::can_sell_gifts_

True, if the bot can sell regular gifts received by the business account.

Definition at line 5517 of file td_api.h.

◆ can_transfer_and_upgrade_gifts_

bool td::td_api::businessBotRights::can_transfer_and_upgrade_gifts_

True, if the bot can transfer and upgrade gifts received by the business account.

Definition at line 5521 of file td_api.h.

◆ can_transfer_stars_

bool td::td_api::businessBotRights::can_transfer_stars_

True, if the bot can transfer Telegram Stars received by the business account to account of the bot, or use them to upgrade and transfer gifts.

Definition at line 5523 of file td_api.h.

◆ can_view_gifts_and_stars_

bool td::td_api::businessBotRights::can_view_gifts_and_stars_

True, if the bot can view gifts and Telegram Star amount owned by the business account.

Definition at line 5515 of file td_api.h.

◆ ID

const std::int32_t td::td_api::businessBotRights::ID = 1224839038
static

Identifier uniquely determining a type of the object.

Definition at line 5553 of file td_api.h.


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