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

Arguments for Api::getMyCommands. More...

#include <Types.h>

Public Attributes

std::shared_ptr< BotCommandScope > scope = nullptr
 A JSON-serialized object, describing scope of users. Defaults to BotCommandScopeDefault.
std::string languageCode = ""
 A two-letter ISO 639-1 language code or an empty string.

Detailed Description

Arguments for Api::getMyCommands.

Definition at line 16588 of file Types.h.

Member Data Documentation

◆ languageCode

std::string TgBot::GetMyCommandsArgs::languageCode = ""

A two-letter ISO 639-1 language code or an empty string.

Definition at line 16598 of file Types.h.

◆ scope

std::shared_ptr<BotCommandScope> TgBot::GetMyCommandsArgs::scope = nullptr

A JSON-serialized object, describing scope of users. Defaults to BotCommandScopeDefault.

Definition at line 16593 of file Types.h.


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