<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="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></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.BotCommandScopeAllChatAdministrators.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.BotCommandScopeAllChatAdministrators</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A scope covering all group and supergroup chat administrators.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.BotCommandScopeAllGroupChats.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.BotCommandScopeAllGroupChats</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A scope covering all group and supergroup chats.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.BotCommandScopeAllPrivateChats.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.BotCommandScopeAllPrivateChats</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A scope covering all private chats.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.BotCommandScopeChat.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.BotCommandScopeChat</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A scope covering all members of a chat.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.BotCommandScopeChatAdministrators.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.BotCommandScopeChatAdministrators</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A scope covering all administrators of a chat.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.BotCommandScopeChatMember.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.BotCommandScopeChatMember</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">A scope covering a member of a chat.</div>
</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.BotCommandScopeDefault.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.BotCommandScopeDefault</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">A scope covering all users.</div>
</div>
</div>
<divclass="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></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="col-first even-row-color"><code><ahref="../TdApi.BotCommandScope.html"title="class in it.tdlight.jni">TdApi.BotCommandScope</a></code></div>
<divclass="block">The scope to which the commands are relevant; pass null to get commands in the default bot command scope.</div>
</div>
<divclass="col-first even-row-color"><code><ahref="../TdApi.BotCommandScope.html"title="class in it.tdlight.jni">TdApi.BotCommandScope</a></code></div>
<divclass="block">The scope to which the commands are relevant; pass null to change commands in the default bot command scope.</div>
</div>
</div>
<divclass="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></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.DeleteCommands.html#%3Cinit%3E(it.tdlight.jni.TdApi.BotCommandScope,java.lang.String)"class="member-name-link">DeleteCommands</a><wbr>(<ahref="../TdApi.BotCommandScope.html"title="class in it.tdlight.jni">TdApi.BotCommandScope</a> scope,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> languageCode)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Deletes commands supported by the bot for the given user scope and language; for bots only.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.GetCommands.html#%3Cinit%3E(it.tdlight.jni.TdApi.BotCommandScope,java.lang.String)"class="member-name-link">GetCommands</a><wbr>(<ahref="../TdApi.BotCommandScope.html"title="class in it.tdlight.jni">TdApi.BotCommandScope</a> scope,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> languageCode)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Returns list of commands supported by the bot for the given user scope and language; for bots only.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.SetCommands.html#%3Cinit%3E(it.tdlight.jni.TdApi.BotCommandScope,java.lang.String,it.tdlight.jni.TdApi.BotCommand%5B%5D)"class="member-name-link">SetCommands</a><wbr>(<ahref="../TdApi.BotCommandScope.html"title="class in it.tdlight.jni">TdApi.BotCommandScope</a> scope,
<ahref="https://docs.oracle.com/en/java/javase/17/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></div>
<divclass="col-last even-row-color">
<divclass="block">Sets the list of commands supported by the bot for the given user scope and language; for bots only.</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
<footerrole="contentinfo">
<hr>
<pclass="legal-copy"><small>Copyright © 2023. All rights reserved.</small></p>