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

Arguments for Api::setChatAdministratorCustomTitle. 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 in the format @username.
std::int64_t userId { }
 Unique identifier of the target user.
std::string customTitle { }
 New custom title for the administrator; 0-16 characters, emoji are not allowed.

Detailed Description

Arguments for Api::setChatAdministratorCustomTitle.

Definition at line 20392 of file Types.h.

Member Data Documentation

◆ chatId

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

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

Definition at line 20397 of file Types.h.

◆ customTitle

std::string TgBot::SetChatAdministratorCustomTitleArgs::customTitle { }

New custom title for the administrator; 0-16 characters, emoji are not allowed.

Definition at line 20408 of file Types.h.

◆ userId

std::int64_t TgBot::SetChatAdministratorCustomTitleArgs::userId { }

Unique identifier of the target user.

Definition at line 20402 of file Types.h.


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