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

Arguments for Api::getChatAdministrators. More...

#include <Types.h>

Public Attributes

std::variant< std::int64_t, std::string > chatId { }
 Unique identifier for the target chat or username of the target supergroup or channel in the format @username.
bool returnBots = false
 Pass True to additionally receive all bots that are administrators of the chat. By default, bots other than the current bot are omitted.

Detailed Description

Arguments for Api::getChatAdministrators.

Definition at line 16382 of file Types.h.

Member Data Documentation

◆ chatId

std::variant<std::int64_t, std::string> TgBot::GetChatAdministratorsArgs::chatId { }

Unique identifier for the target chat or username of the target supergroup or channel in the format @username.

Definition at line 16387 of file Types.h.

◆ returnBots

bool TgBot::GetChatAdministratorsArgs::returnBots = false

Pass True to additionally receive all bots that are administrators of the chat. By default, bots other than the current bot are omitted.

Definition at line 16393 of file Types.h.


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