telegramx.js

SetMyNameParams

interface

Declaration

interface SetMyNameParams 

Properties

language_code?: string;

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.

nameproperty#
name?: string;

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