-
List of the bot commands.
List of the bot's commands.
Contains a list of bot commands.
BotInfo(String shortDescription,
String description,
TdApi.Photo photo,
TdApi.Animation animation,
TdApi.BotMenuButton menuButton,
TdApi.BotCommand[] commands,
TdApi.ChatAdministratorRights defaultGroupAdministratorRights,
TdApi.ChatAdministratorRights defaultChannelAdministratorRights,
TdApi.InternalLinkType editCommandsLink,
TdApi.InternalLinkType editDescriptionLink,
TdApi.InternalLinkType editDescriptionMediaLink,
TdApi.InternalLinkType editSettingsLink)
Contains information about a bot.
Sets the list of commands supported by the bot for the given user scope and language; for bots only.