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

Arguments for Api::deleteMyCommands. More...

#include <Types.h>

Public Attributes

std::shared_ptr< BotCommandScope > scope = nullptr
 A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault.
std::string languageCode = ""
 A two-letter ISO 639-1 language code. If empty, commands will be applied to all users from the given scope, for whose language there are no dedicated commands.

Detailed Description

Arguments for Api::deleteMyCommands.

Definition at line 15405 of file Types.h.

Member Data Documentation

◆ languageCode

std::string TgBot::DeleteMyCommandsArgs::languageCode = ""

A two-letter ISO 639-1 language code. If empty, commands will be applied to all users from the given scope, for whose language there are no dedicated commands.

Definition at line 15417 of file Types.h.

◆ scope

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

A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault.

Definition at line 15410 of file Types.h.


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