tgbot-cpp
Loading...
Searching...
No Matches
TgBot::SetManagedBotAccessSettingsArgs Struct Reference

Arguments for Api::setManagedBotAccessSettings. More...

#include <Types.h>

Public Attributes

bool isAccessRestricted { }
 Pass True if only selected users can access the bot. The bot's owner can always access it.
std::int64_t userId { }
 User identifier of the managed bot whose access settings will be changed.
std::vector< std::int32_t > addedUserIds = { }
 A JSON-serialized list of up to 10 identifiers of users who will have access to the bot in addition to its owner. Ignored if is_access_restricted is False.

Detailed Description

Arguments for Api::setManagedBotAccessSettings.

Definition at line 20613 of file Types.h.

Member Data Documentation

◆ addedUserIds

std::vector<std::int32_t> TgBot::SetManagedBotAccessSettingsArgs::addedUserIds = { }

A JSON-serialized list of up to 10 identifiers of users who will have access to the bot in addition to its owner. Ignored if is_access_restricted is False.

Definition at line 20630 of file Types.h.

◆ isAccessRestricted

bool TgBot::SetManagedBotAccessSettingsArgs::isAccessRestricted { }

Pass True if only selected users can access the bot. The bot's owner can always access it.

Definition at line 20618 of file Types.h.

◆ userId

std::int64_t TgBot::SetManagedBotAccessSettingsArgs::userId { }

User identifier of the managed bot whose access settings will be changed.

Definition at line 20623 of file Types.h.


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