This object describes the access settings of a bot.
More...
#include <Types.h>
|
| bool | isAccessRestricted { } |
| | True, if only selected users can access the bot. The bot's owner can always access it.
|
| std::optional< std::vector< std::shared_ptr< User > > > | addedUsers { } |
| | Optional. The list of other users who have access to the bot if the access is restricted.
|
This object describes the access settings of a bot.
Definition at line 915 of file Types.h.
◆ Ptr
◆ addedUsers
| std::optional<std::vector<std::shared_ptr<User> > > TgBot::BotAccessSettings::addedUsers { } |
Optional. The list of other users who have access to the bot if the access is restricted.
Definition at line 925 of file Types.h.
◆ isAccessRestricted
| bool TgBot::BotAccessSettings::isAccessRestricted { } |
True, if only selected users can access the bot. The bot's owner can always access it.
Definition at line 921 of file Types.h.
The documentation for this struct was generated from the following file: