#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| | 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 |
| |
| virtual void | store (TlStorerUnsafe &s) const |
| |
| virtual void | store (TlStorerCalcLength &s) const |
| |
| | TlObject ()=default |
| |
| | TlObject (const TlObject &)=delete |
| |
| TlObject & | operator= (const TlObject &)=delete |
| |
| | TlObject (TlObject &&)=default |
| |
| TlObject & | operator= (TlObject &&)=default |
| |
| virtual | ~TlObject ()=default |
| |
|
| 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 const std::int32_t | ID = 1224839038 |
| | Identifier uniquely determining a type of the object.
|
| |
Describes rights of a business bot.
Definition at line 5530 of file td_api.h.
◆ 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. |
◆ 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] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ 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 5561 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 5547 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 5545 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 5551 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 5549 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 5553 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 5555 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 5567 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 5543 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 5541 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 5559 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 5563 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 5565 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 5557 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 5595 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h