Represents the rights of a business bot.
More...
#include <Types.h>
|
| std::optional< bool > | canReply { } |
| | Optional. True, if the bot can send and edit messages in the private chats that had incoming messages in the last 24 hours.
|
| std::optional< bool > | canReadMessages { } |
| | Optional. True, if the bot can mark incoming private messages as read.
|
| std::optional< bool > | canDeleteSentMessages { } |
| | Optional. True, if the bot can delete messages sent by the bot.
|
| std::optional< bool > | canDeleteAllMessages { } |
| | Optional. True, if the bot can delete all private messages in managed chats.
|
| std::optional< bool > | canEditName { } |
| | Optional. True, if the bot can edit the first and last name of the business account.
|
| std::optional< bool > | canEditBio { } |
| | Optional. True, if the bot can edit the bio of the business account.
|
| std::optional< bool > | canEditProfilePhoto { } |
| | Optional. True, if the bot can edit the profile photo of the business account.
|
| std::optional< bool > | canEditUsername { } |
| | Optional. True, if the bot can edit the username of the business account.
|
| std::optional< bool > | canChangeGiftSettings { } |
| | Optional. True, if the bot can change the privacy settings pertaining to gifts for the business account.
|
| std::optional< bool > | canViewGiftsAndStars { } |
| | Optional. True, if the bot can view gifts and the amount of Telegram Stars owned by the business account.
|
| std::optional< bool > | canConvertGiftsToStars { } |
| | Optional. True, if the bot can convert regular gifts owned by the business account to Telegram Stars.
|
| std::optional< bool > | canTransferAndUpgradeGifts { } |
| | Optional. True, if the bot can transfer and upgrade gifts owned by the business account.
|
| std::optional< bool > | canTransferStars { } |
| | Optional. True, if the bot can transfer Telegram Stars received by the business account to its own account, or use them to upgrade and transfer gifts.
|
| std::optional< bool > | canManageStories { } |
| | Optional. True, if the bot can post, edit and delete stories on behalf of the business account.
|
Represents the rights of a business bot.
Definition at line 1179 of file Types.h.
◆ Ptr
◆ canChangeGiftSettings
| std::optional<bool> TgBot::BusinessBotRights::canChangeGiftSettings { } |
Optional. True, if the bot can change the privacy settings pertaining to gifts for the business account.
Definition at line 1227 of file Types.h.
◆ canConvertGiftsToStars
| std::optional<bool> TgBot::BusinessBotRights::canConvertGiftsToStars { } |
Optional. True, if the bot can convert regular gifts owned by the business account to Telegram Stars.
Definition at line 1239 of file Types.h.
◆ canDeleteAllMessages
| std::optional<bool> TgBot::BusinessBotRights::canDeleteAllMessages { } |
Optional. True, if the bot can delete all private messages in managed chats.
Definition at line 1201 of file Types.h.
◆ canDeleteSentMessages
| std::optional<bool> TgBot::BusinessBotRights::canDeleteSentMessages { } |
Optional. True, if the bot can delete messages sent by the bot.
Definition at line 1196 of file Types.h.
◆ canEditBio
| std::optional<bool> TgBot::BusinessBotRights::canEditBio { } |
Optional. True, if the bot can edit the bio of the business account.
Definition at line 1211 of file Types.h.
◆ canEditName
| std::optional<bool> TgBot::BusinessBotRights::canEditName { } |
Optional. True, if the bot can edit the first and last name of the business account.
Definition at line 1206 of file Types.h.
◆ canEditProfilePhoto
| std::optional<bool> TgBot::BusinessBotRights::canEditProfilePhoto { } |
Optional. True, if the bot can edit the profile photo of the business account.
Definition at line 1216 of file Types.h.
◆ canEditUsername
| std::optional<bool> TgBot::BusinessBotRights::canEditUsername { } |
Optional. True, if the bot can edit the username of the business account.
Definition at line 1221 of file Types.h.
◆ canManageStories
| std::optional<bool> TgBot::BusinessBotRights::canManageStories { } |
Optional. True, if the bot can post, edit and delete stories on behalf of the business account.
Definition at line 1256 of file Types.h.
◆ canReadMessages
| std::optional<bool> TgBot::BusinessBotRights::canReadMessages { } |
Optional. True, if the bot can mark incoming private messages as read.
Definition at line 1191 of file Types.h.
◆ canReply
| std::optional<bool> TgBot::BusinessBotRights::canReply { } |
Optional. 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 1186 of file Types.h.
◆ canTransferAndUpgradeGifts
| std::optional<bool> TgBot::BusinessBotRights::canTransferAndUpgradeGifts { } |
Optional. True, if the bot can transfer and upgrade gifts owned by the business account.
Definition at line 1244 of file Types.h.
◆ canTransferStars
| std::optional<bool> TgBot::BusinessBotRights::canTransferStars { } |
Optional. True, if the bot can transfer Telegram Stars received by the business account to its own account, or use them to upgrade and transfer gifts.
Definition at line 1250 of file Types.h.
◆ canViewGiftsAndStars
| std::optional<bool> TgBot::BusinessBotRights::canViewGiftsAndStars { } |
Optional. True, if the bot can view gifts and the amount of Telegram Stars owned by the business account.
Definition at line 1233 of file Types.h.
The documentation for this struct was generated from the following file: