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

Arguments for Api::setMyShortDescription. More...

#include <Types.h>

Public Attributes

std::string shortDescription = ""
 New short description for the bot; 0-120 characters. Pass an empty string to remove the dedicated short description for the given language.
std::string languageCode = ""
 A two-letter ISO 639-1 language code. If empty, the short description will be applied to all users for whose language there is no dedicated short description.

Detailed Description

Arguments for Api::setMyShortDescription.

Definition at line 20769 of file Types.h.

Member Data Documentation

◆ languageCode

std::string TgBot::SetMyShortDescriptionArgs::languageCode = ""

A two-letter ISO 639-1 language code. If empty, the short description will be applied to all users for whose language there is no dedicated short description.

Definition at line 20781 of file Types.h.

◆ shortDescription

std::string TgBot::SetMyShortDescriptionArgs::shortDescription = ""

New short description for the bot; 0-120 characters. Pass an empty string to remove the dedicated short description for the given language.

Definition at line 20774 of file Types.h.


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