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

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

Subclasses of TdApi.BotCommandScope in it.tdlight.jni
Modifier and Type
Class
Description
`static final class`
`TdApi.BotCommandScopeAllChatAdministrators`
A scope covering all group and supergroup chat administrators.
`static final class`
`TdApi.BotCommandScopeAllGroupChats`
A scope covering all group and supergroup chats.
`static final class`
`TdApi.BotCommandScopeAllPrivateChats`
A scope covering all private chats.
`static final class`
`TdApi.BotCommandScopeChat`
A scope covering all members of a chat.
`static final class`
`TdApi.BotCommandScopeChatAdministrators`
A scope covering all administrators of a chat.
`static final class`
`TdApi.BotCommandScopeChatMember`
A scope covering a member of a chat.
`static final class`
`TdApi.BotCommandScopeDefault`
A scope covering all users.
Fields in it.tdlight.jni declared as TdApi.BotCommandScope
Modifier and Type
Field
Description
`TdApi.BotCommandScope`
TdApi.DeleteCommands.`scope`
The scope to which the commands are relevant; pass null to delete commands in the default bot command scope.
`TdApi.BotCommandScope`
TdApi.GetCommands.`scope`
The scope to which the commands are relevant; pass null to get commands in the default bot command scope.
`TdApi.BotCommandScope`
TdApi.SetCommands.`scope`
The scope to which the commands are relevant; pass null to change commands in the default bot command scope.
Constructors in it.tdlight.jni with parameters of type TdApi.BotCommandScope
Modifier
Constructor
Description
``
`DeleteCommands(TdApi.BotCommandScope scope, String languageCode)`
Deletes commands supported by the bot for the given user scope and language; for bots only.
``
`GetCommands(TdApi.BotCommandScope scope, String languageCode)`
Returns the list of commands supported by the bot for the given user scope and language; for bots only.
``
`SetCommands(TdApi.BotCommandScope scope, String languageCode, TdApi.BotCommand[] commands)`
Sets the list of commands supported by the bot for the given user scope and language; for bots only.