SetMyCommandsReq
telegramium.bots.client.SetMyCommandsReq
final case class SetMyCommandsReq(commands: List[BotCommand], scope: Option[BotCommandScope], languageCode: Option[String])
Value parameters
- commands
-
A JSON-serialized list of bot commands to be set as the list of the bot's commands. At most 100 commands can be specified.
- 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
- scope
-
A JSON-serialized object, describing scope of users for which the commands are relevant. Defaults to BotCommandScopeDefault.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article