<h1title="Uses of Class it.tdlight.jni.TdApi.BotCommand"class="title">Uses of Class<br>it.tdlight.jni.TdApi.BotCommand</h1>
</div>
<sectionclass="class-uses">
<ulclass="block-list">
<li>
<sectionclass="detail"id="it.tdlight.jni">
<h2>Uses of <ahref="../TdApi.BotCommand.html"title="class in it.tdlight.jni">TdApi.BotCommand</a> in <ahref="../package-summary.html">it.tdlight.jni</a></h2>
<divclass="caption"><span>Fields in <ahref="../package-summary.html">it.tdlight.jni</a> declared as <ahref="../TdApi.BotCommand.html"title="class in it.tdlight.jni">TdApi.BotCommand</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="caption"><span>Constructors in <ahref="../package-summary.html">it.tdlight.jni</a> with parameters of type <ahref="../TdApi.BotCommand.html"title="class in it.tdlight.jni">TdApi.BotCommand</a></span></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.BotInfo.html#%3Cinit%3E(java.lang.String,java.lang.String,it.tdlight.jni.TdApi.Photo,it.tdlight.jni.TdApi.Animation,it.tdlight.jni.TdApi.BotMenuButton,it.tdlight.jni.TdApi.BotCommand%5B%5D,it.tdlight.jni.TdApi.ChatAdministratorRights,it.tdlight.jni.TdApi.ChatAdministratorRights,it.tdlight.jni.TdApi.InternalLinkType,it.tdlight.jni.TdApi.InternalLinkType,it.tdlight.jni.TdApi.InternalLinkType,it.tdlight.jni.TdApi.InternalLinkType)"class="member-name-link">BotInfo</a><wbr>(<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> shortDescription,
<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> description,
<ahref="../TdApi.Photo.html"title="class in it.tdlight.jni">TdApi.Photo</a> photo,
<ahref="../TdApi.Animation.html"title="class in it.tdlight.jni">TdApi.Animation</a> animation,
<ahref="../TdApi.BotMenuButton.html"title="class in it.tdlight.jni">TdApi.BotMenuButton</a> menuButton,
<ahref="../TdApi.BotCommand.html"title="class in it.tdlight.jni">TdApi.BotCommand</a>[] commands,
<ahref="../TdApi.ChatAdministratorRights.html"title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a> defaultGroupAdministratorRights,
<ahref="../TdApi.ChatAdministratorRights.html"title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a> defaultChannelAdministratorRights,
<ahref="../TdApi.InternalLinkType.html"title="class in it.tdlight.jni">TdApi.InternalLinkType</a> editCommandsLink,
<ahref="../TdApi.InternalLinkType.html"title="class in it.tdlight.jni">TdApi.InternalLinkType</a> editDescriptionLink,
<ahref="../TdApi.InternalLinkType.html"title="class in it.tdlight.jni">TdApi.InternalLinkType</a> editDescriptionMediaLink,
<ahref="../TdApi.InternalLinkType.html"title="class in it.tdlight.jni">TdApi.InternalLinkType</a> editSettingsLink)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Contains information about a bot.</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>