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

Arguments for Api::setMyName. More...

#include <Types.h>

Public Attributes

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

Detailed Description

Arguments for Api::setMyName.

Definition at line 20733 of file Types.h.

Member Data Documentation

◆ languageCode

std::string TgBot::SetMyNameArgs::languageCode = ""

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

Definition at line 20744 of file Types.h.

◆ name

std::string TgBot::SetMyNameArgs::name = ""

New bot name; 0-64 characters. Pass an empty string to remove the dedicated name for the given language.

Definition at line 20738 of file Types.h.


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