<h1title="Uses of Class it.tdlight.jni.TdApi.BotCommandScope"class="title">Uses of Class<br>it.tdlight.jni.TdApi.BotCommandScope</h1>
</div>
<sectionclass="class-uses">
<ulclass="block-list">
<li>
<sectionclass="detail"id="it.tdlight.jni">
<h2>Uses of <ahref="../TdApi.BotCommandScope.html"title="class in it.tdlight.jni">TdApi.BotCommandScope</a> in <ahref="../package-summary.html">it.tdlight.jni</a></h2>
<divclass="use-summary">
<tableclass="summary-table">
<caption><span>Subclasses of <ahref="../TdApi.BotCommandScope.html"title="class in it.tdlight.jni">TdApi.BotCommandScope</a> in <ahref="../package-summary.html">it.tdlight.jni</a></span></caption>
<thead>
<tr>
<thclass="col-first"scope="col">Modifier and Type</th>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.BotCommandScopeAllChatAdministrators.html"title="class in it.tdlight.jni">TdApi.BotCommandScopeAllChatAdministrators</a></span></code></th>
<tdclass="col-last">
<divclass="block">A scope covering all group and supergroup chat administrators.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.BotCommandScopeAllGroupChats.html"title="class in it.tdlight.jni">TdApi.BotCommandScopeAllGroupChats</a></span></code></th>
<tdclass="col-last">
<divclass="block">A scope covering all group and supergroup chats.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.BotCommandScopeAllPrivateChats.html"title="class in it.tdlight.jni">TdApi.BotCommandScopeAllPrivateChats</a></span></code></th>
<tdclass="col-last">
<divclass="block">A scope covering all private chats.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.BotCommandScopeChat.html"title="class in it.tdlight.jni">TdApi.BotCommandScopeChat</a></span></code></th>
<tdclass="col-last">
<divclass="block">A scope covering all members of a chat.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.BotCommandScopeChatAdministrators.html"title="class in it.tdlight.jni">TdApi.BotCommandScopeChatAdministrators</a></span></code></th>
<tdclass="col-last">
<divclass="block">A scope covering all administrators
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.BotCommandScopeChatMember.html"title="class in it.tdlight.jni">TdApi.BotCommandScopeChatMember</a></span></code></th>
<tdclass="col-last">
<divclass="block">A scope covering a member of a chat.</div>
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.BotCommandScopeDefault.html"title="class in it.tdlight.jni">TdApi.BotCommandScopeDefault</a></span></code></th>
<tdclass="col-last">
<divclass="block">A scope covering all users.</div>
</td>
</tr>
</tbody>
</table>
</div>
<divclass="use-summary">
<tableclass="summary-table">
<caption><span>Fields in <ahref="../package-summary.html">it.tdlight.jni</a> declared as <ahref="../TdApi.BotCommandScope.html"title="class in it.tdlight.jni">TdApi.BotCommandScope</a></span></caption>
<thead>
<tr>
<thclass="col-first"scope="col">Modifier and Type</th>
<thclass="col-second"scope="col">Field</th>
<thclass="col-last"scope="col">Description</th>
</tr>
</thead>
<tbody>
<trclass="alt-color">
<tdclass="col-first"><code><ahref="../TdApi.BotCommandScope.html"title="class in it.tdlight.jni">TdApi.BotCommandScope</a></code></td>
<divclass="block">The scope to which the commands are relevant.</div>
</td>
</tr>
</tbody>
</table>
</div>
<divclass="use-summary">
<tableclass="summary-table">
<caption><span>Constructors in <ahref="../package-summary.html">it.tdlight.jni</a> with parameters of type <ahref="../TdApi.BotCommandScope.html"title="class in it.tdlight.jni">TdApi.BotCommandScope</a></span></caption>
<thead>
<tr>
<thclass="col-first"scope="col">Constructor</th>
<thclass="col-last"scope="col">Description</th>
</tr>
</thead>
<tbody>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.DeleteCommands.html#%3Cinit%3E(it.tdlight.jni.TdApi.BotCommandScope,java.lang.String)">DeleteCommands</a></span>​(<ahref="../TdApi.BotCommandScope.html"title="class in it.tdlight.jni">TdApi.BotCommandScope</a> scope,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> languageCode)</code></th>
<tdclass="col-last">
<divclass="block">Deletes commands supported by the bot
for the given user scope and language;
for bots only.</div>
</td>
</tr>
<trclass="row-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.GetCommands.html#%3Cinit%3E(it.tdlight.jni.TdApi.BotCommandScope,java.lang.String)">GetCommands</a></span>​(<ahref="../TdApi.BotCommandScope.html"title="class in it.tdlight.jni">TdApi.BotCommandScope</a> scope,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> languageCode)</code></th>
<tdclass="col-last">
<divclass="block">Returns the list of commands supported
by the bot for the given user scope
and language; for bots only.</div>
</td>
</tr>
<trclass="alt-color">
<thclass="col-second"scope="row"><code><spanclass="member-name-link"><ahref="../TdApi.SetCommands.html#%3Cinit%3E(it.tdlight.jni.TdApi.BotCommandScope,java.lang.String,it.tdlight.jni.TdApi.BotCommand%5B%5D)">SetCommands</a></span>​(<ahref="../TdApi.BotCommandScope.html"title="class in it.tdlight.jni">TdApi.BotCommandScope</a> scope,
<ahref="https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> languageCode,
<ahref="../TdApi.BotCommand.html"title="class in it.tdlight.jni">TdApi.BotCommand</a>[] commands)</code></th>
<tdclass="col-last">
<divclass="block">Sets the list of commands supported