# Uses of Class it.tdlight.jni.TdApi.BotCommandScope (tdlight API 3.3.160 API)
use: package: it.tdlight.jni, class: TdApi, class: BotCommandScope

# 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 class` | `TdApi.BotCommandScopeAllChatAdministrators` | A scope covering all group and supergroup chat administrators.
`static class` | `TdApi.BotCommandScopeAllGroupChats` | A scope covering all group and supergroup chats.
`static class` | `TdApi.BotCommandScopeAllPrivateChats` | A scope covering all private chats.
`static class` | `TdApi.BotCommandScopeChat` | A scope covering all members of a chat.
`static class` | `TdApi.BotCommandScopeChatAdministrators` | A scope covering all administrators of a chat.
`static class` | `TdApi.BotCommandScopeChatMember` | A scope covering a member of a chat.
`static 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
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.