# Uses of Class
it.tdlight.jni.TdApi.ChatAdministratorRights

## Uses of TdApi.ChatAdministratorRights in it.tdlight.jni

Fields in it.tdlight.jni declared as TdApi.ChatAdministratorRights
Modifier and Type
Field
Description
`TdApi.ChatAdministratorRights`
TdApi.InternalLinkTypeBotAddToChannel.`administratorRights`
Expected administrator rights for the bot.
`TdApi.ChatAdministratorRights`
TdApi.InternalLinkTypeBotStartInGroup.`administratorRights`
Expected administrator rights for the bot; may be null.
`TdApi.ChatAdministratorRights`
TdApi.KeyboardButtonTypeRequestChat.`botAdministratorRights`
Expected bot administrator rights in the chat; may be null if they aren't restricted.
`TdApi.ChatAdministratorRights`
TdApi.BotInfo.`defaultChannelAdministratorRights`
Default administrator rights for adding the bot to channels; may be null.
`TdApi.ChatAdministratorRights`
TdApi.SetDefaultChannelAdministratorRights.`defaultChannelAdministratorRights`
Default administrator rights for adding the bot to channels; pass null to remove default rights.
`TdApi.ChatAdministratorRights`
TdApi.BotInfo.`defaultGroupAdministratorRights`
Default administrator rights for adding the bot to basic group and supergroup chats; may be null.
`TdApi.ChatAdministratorRights`
TdApi.SetDefaultGroupAdministratorRights.`defaultGroupAdministratorRights`
Default administrator rights for adding the bot to basic group and supergroup chats; pass null to remove default rights.
`TdApi.ChatAdministratorRights`
TdApi.ChatMemberStatusAdministrator.`rights`
Rights of the administrator.
`TdApi.ChatAdministratorRights`
TdApi.KeyboardButtonTypeRequestChat.`userAdministratorRights`
Expected user administrator rights in the chat; may be null if they aren't restricted.
Constructors in it.tdlight.jni with parameters of type TdApi.ChatAdministratorRights
Modifier
Constructor
Description
``
`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.
``
`ChatMemberStatusAdministrator(String customTitle, boolean canBeEdited, TdApi.ChatAdministratorRights rights)`
The user is a member of the chat and has some additional privileges.
``
`InternalLinkTypeBotAddToChannel(String botUsername, TdApi.ChatAdministratorRights administratorRights)`
The link is a link to a Telegram bot, which is supposed to be added to a channel chat as an administrator.
``
`InternalLinkTypeBotStartInGroup(String botUsername, String startParameter, TdApi.ChatAdministratorRights administratorRights)`
The link is a link to a Telegram bot, which is supposed to be added to a group chat.
``
`KeyboardButtonTypeRequestChat(int id, boolean chatIsChannel, boolean restrictChatIsForum, boolean chatIsForum, boolean restrictChatHasUsername, boolean chatHasUsername, boolean chatIsCreated, TdApi.ChatAdministratorRights userAdministratorRights, TdApi.ChatAdministratorRights botAdministratorRights, boolean botIsMember)`
A button that requests a chat to be shared by the current user; available only in private chats.
``
`SetDefaultChannelAdministratorRights(TdApi.ChatAdministratorRights defaultChannelAdministratorRights)`
Sets default administrator rights for adding the bot to channel chats; for bots only.
``
`SetDefaultGroupAdministratorRights(TdApi.ChatAdministratorRights defaultGroupAdministratorRights)`
Sets default administrator rights for adding the bot to basic group and supergroup chats; for bots only.