-
Expected administrator rights for the bot.
Expected administrator rights for the
bot; may be null.
Expected bot administrator rights in
the chat; may be null if they aren't restricted.
Default administrator rights for adding
the bot to channels; may be null.
Default administrator rights for adding
the bot to channels; may be null.
Default administrator rights for adding
the bot to basic group and supergroup
chats; may be null.
Default administrator rights for adding
the bot to basic group and supergroup
chats; may be null.
TdApi.ChatMemberStatusAdministrator.rights
Rights of the administrator.
Expected user administrator rights in
the chat; may be null if they aren't restricted.
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.
The user is a member of the chat and
has some additional privileges.
The link is a link to a Telegram bot,
which is supposed to be added to a
channel chat as an administrator.
The link is a link to a Telegram bot,
which is supposed to be added to a
group chat.
A button that requests a chat to be
shared by the current user; available
only in private chats.
Sets default administrator rights for
adding the bot to channel chats; for bots only.
Sets default administrator rights for
adding the bot to basic group and
supergroup chats; for bots only.