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

Arguments for Api::unbanChatMember. More...

#include <Types.h>

Public Attributes

std::variant< std::int64_t, std::string > chatId { }
 Unique identifier for the target group or username of the target supergroup or channel in the format @username.
std::int64_t userId { }
 Unique identifier of the target user.
bool onlyIfBanned = false
 Do nothing if the user is not banned.

Detailed Description

Arguments for Api::unbanChatMember.

Definition at line 21114 of file Types.h.

Member Data Documentation

◆ chatId

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

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

Definition at line 21119 of file Types.h.

◆ onlyIfBanned

bool TgBot::UnbanChatMemberArgs::onlyIfBanned = false

Do nothing if the user is not banned.

Definition at line 21129 of file Types.h.

◆ userId

std::int64_t TgBot::UnbanChatMemberArgs::userId { }

Unique identifier of the target user.

Definition at line 21124 of file Types.h.


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