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

Arguments for Api::verifyChat. 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 bot, supergroup, or channel in the format @username. Channel direct messages chats can't be verified.
std::string customDescription = ""
 Custom description for the verification; 0-70 characters. Must be empty if the organization isn't allowed to provide a custom verification description.
std::vector< std::shared_ptr< MessageEntity > > customDescriptionEntities = { }
 A JSON-serialized list of special entities that appear in the custom description, which can be specified instead of custom_description_parse_mode. Only “text_link” entities are supported.
std::string customDescriptionParseMode = ""
 Mode for parsing entities in the custom description. See formatting options for more details. Only “text_link” entities are supported.

Detailed Description

Arguments for Api::verifyChat.

Definition at line 22440 of file Types.h.

Member Data Documentation

◆ chatId

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

Unique identifier for the target chat or username of the target bot, supergroup, or channel in the format @username. Channel direct messages chats can't be verified.

Definition at line 22446 of file Types.h.

◆ customDescription

std::string TgBot::VerifyChatArgs::customDescription = ""

Custom description for the verification; 0-70 characters. Must be empty if the organization isn't allowed to provide a custom verification description.

Definition at line 22453 of file Types.h.

◆ customDescriptionEntities

std::vector<std::shared_ptr<MessageEntity> > TgBot::VerifyChatArgs::customDescriptionEntities = { }

A JSON-serialized list of special entities that appear in the custom description, which can be specified instead of custom_description_parse_mode. Only “text_link” entities are supported.

Definition at line 22460 of file Types.h.

◆ customDescriptionParseMode

std::string TgBot::VerifyChatArgs::customDescriptionParseMode = ""

Mode for parsing entities in the custom description. See formatting options for more details. Only “text_link” entities are supported.

Definition at line 22466 of file Types.h.


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