-
Information about a button to show
instead of the bot commands menu
button; may be null if ordinary bot
commands menu must be shown.
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 menu button for the given user
or for all users; for bots only.