TgKit library and website are still in early development!

MyCommandsSetOptions Interface

Properties

languageCode string

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

See the code

scope BotCommandScope

Object, describing scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault

See the code