|
tgbot-cpp
|
Arguments for Api::setMyDefaultAdministratorRights. More...
#include <Types.h>
Public Attributes | |
| std::shared_ptr< ChatAdministratorRights > | rights = nullptr |
| A JSON-serialized object describing new default administrator rights. If not specified, the default administrator rights will be cleared. | |
| bool | forChannels = false |
| Pass True to change the default administrator rights of the bot in channels. Otherwise, the default administrator rights of the bot for groups and supergroups will be changed. | |
Arguments for Api::setMyDefaultAdministratorRights.
| bool TgBot::SetMyDefaultAdministratorRightsArgs::forChannels = false |
| std::shared_ptr<ChatAdministratorRights> TgBot::SetMyDefaultAdministratorRightsArgs::rights = nullptr |