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

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.

Detailed Description

Arguments for Api::setMyDefaultAdministratorRights.

Definition at line 20695 of file Types.h.

Member Data Documentation

◆ forChannels

bool TgBot::SetMyDefaultAdministratorRightsArgs::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.

Definition at line 20707 of file Types.h.

◆ rights

std::shared_ptr<ChatAdministratorRights> TgBot::SetMyDefaultAdministratorRightsArgs::rights = nullptr

A JSON-serialized object describing new default administrator rights. If not specified, the default administrator rights will be cleared.

Definition at line 20700 of file Types.h.


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