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::uint64_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 21547 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 21552 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 21563 of file Types.h.

◆ userId

std::uint64_t TgBot::SetChatAdministratorCustomTitleArgs::userId { }

Unique identifier of the target user.

Definition at line 21557 of file Types.h.


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