131 lines
8.2 KiB
HTML
131 lines
8.2 KiB
HTML
<!DOCTYPE HTML>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (17) -->
|
|
<title>Uses of Class it.tdlight.jni.TdApi.BotCommand (tdlight API 4.0.259 API)</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"><style>
|
|
#memberSummary_tabpanel{overflow-x: auto;}
|
|
li.blockList{overflow-x: auto;}
|
|
td.colLast div{max-width:30vw;}
|
|
#search{width: 400px;max-width: 65vw;}
|
|
.title,.subTitle,pre,.inheritance,h1,h2,h3,h4,h5,.memberSummary,.memberSignature,.typeSummary,.blockList,.contentContainer{white-space:normal;word-break:break-word;}
|
|
ul{padding-left:10px}
|
|
</style>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="description" content="use: module: tdlight.api, package: it.tdlight.jni, class: TdApi, class: BotCommand">
|
|
<meta name="generator" content="javadoc/ClassUseWriter">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style">
|
|
<script type="text/javascript" src="../../../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../../../script-dir/jquery-3.5.1.min.js"></script>
|
|
<script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script>
|
|
</head>
|
|
<body class="class-use-page">
|
|
<script type="text/javascript">var pathtoroot = "../../../../../";
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<div class="flex-box">
|
|
<header role="banner" class="flex-header">
|
|
<nav role="navigation">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="top-nav" id="navbar-top">
|
|
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
|
|
<li><a href="../../../../module-summary.html">Module</a></li>
|
|
<li><a href="../package-summary.html">Package</a></li>
|
|
<li><a href="../TdApi.BotCommand.html" title="class in it.tdlight.jni">Class</a></li>
|
|
<li class="nav-bar-cell1-rev">Use</li>
|
|
<li><a href="../package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../../help-doc.html#use">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="sub-nav">
|
|
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
|
|
<input type="text" id="search-input" value="search" disabled="disabled">
|
|
<input type="reset" id="reset-button" value="reset" disabled="disabled">
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<span class="skip-nav" id="skip-navbar-top"></span></nav>
|
|
</header>
|
|
<div class="flex-content">
|
|
<main role="main">
|
|
<div class="header">
|
|
<h1 title="Uses of Class it.tdlight.jni.TdApi.BotCommand" class="title">Uses of Class<br>it.tdlight.jni.TdApi.BotCommand</h1>
|
|
</div>
|
|
<section class="class-uses">
|
|
<ul class="block-list">
|
|
<li>
|
|
<section class="detail" id="it.tdlight.jni">
|
|
<h2>Uses of <a href="../TdApi.BotCommand.html" title="class in it.tdlight.jni">TdApi.BotCommand</a> in <a href="../package-summary.html">it.tdlight.jni</a></h2>
|
|
<div class="caption"><span>Fields in <a href="../package-summary.html">it.tdlight.jni</a> declared as <a href="../TdApi.BotCommand.html" title="class in it.tdlight.jni">TdApi.BotCommand</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier and Type</div>
|
|
<div class="table-header col-second">Field</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code><a href="../TdApi.BotCommand.html" title="class in it.tdlight.jni">TdApi.BotCommand</a>[]</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">TdApi.BotCommands.</span><code><a href="../TdApi.BotCommands.html#commands" class="member-name-link">commands</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">List of bot commands.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code><a href="../TdApi.BotCommand.html" title="class in it.tdlight.jni">TdApi.BotCommand</a>[]</code></div>
|
|
<div class="col-second odd-row-color"><span class="type-name-label">TdApi.BotInfo.</span><code><a href="../TdApi.BotInfo.html#commands" class="member-name-link">commands</a></code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">List of the bot commands.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code><a href="../TdApi.BotCommand.html" title="class in it.tdlight.jni">TdApi.BotCommand</a>[]</code></div>
|
|
<div class="col-second even-row-color"><span class="type-name-label">TdApi.SetCommands.</span><code><a href="../TdApi.SetCommands.html#commands" class="member-name-link">commands</a></code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">List of the bot's commands.</div>
|
|
</div>
|
|
</div>
|
|
<div class="caption"><span>Constructors in <a href="../package-summary.html">it.tdlight.jni</a> with parameters of type <a href="../TdApi.BotCommand.html" title="class in it.tdlight.jni">TdApi.BotCommand</a></span></div>
|
|
<div class="summary-table three-column-summary">
|
|
<div class="table-header col-first">Modifier</div>
|
|
<div class="table-header col-second">Constructor</div>
|
|
<div class="table-header col-last">Description</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../TdApi.BotCommands.html#%3Cinit%3E(long,it.tdlight.jni.TdApi.BotCommand%5B%5D)" class="member-name-link">BotCommands</a><wbr>(long botUserId,
|
|
<a href="../TdApi.BotCommand.html" title="class in it.tdlight.jni">TdApi.BotCommand</a>[] commands)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="block">Contains a list of bot commands.</div>
|
|
</div>
|
|
<div class="col-first odd-row-color"><code> </code></div>
|
|
<div class="col-second odd-row-color"><code><a href="../TdApi.BotInfo.html#%3Cinit%3E(java.lang.String,java.lang.String,it.tdlight.jni.TdApi.BotMenuButton,it.tdlight.jni.TdApi.BotCommand%5B%5D,it.tdlight.jni.TdApi.ChatAdministratorRights,it.tdlight.jni.TdApi.ChatAdministratorRights)" class="member-name-link">BotInfo</a><wbr>(<a href="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> shareText,
|
|
<a href="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,
|
|
<a href="../TdApi.BotMenuButton.html" title="class in it.tdlight.jni">TdApi.BotMenuButton</a> menuButton,
|
|
<a href="../TdApi.BotCommand.html" title="class in it.tdlight.jni">TdApi.BotCommand</a>[] commands,
|
|
<a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a> defaultGroupAdministratorRights,
|
|
<a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a> defaultChannelAdministratorRights)</code></div>
|
|
<div class="col-last odd-row-color">
|
|
<div class="block">Contains information about a bot.</div>
|
|
</div>
|
|
<div class="col-first even-row-color"><code> </code></div>
|
|
<div class="col-second even-row-color"><code><a href="../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>(<a href="../TdApi.BotCommandScope.html" title="class in it.tdlight.jni">TdApi.BotCommandScope</a> scope,
|
|
<a href="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,
|
|
<a href="../TdApi.BotCommand.html" title="class in it.tdlight.jni">TdApi.BotCommand</a>[] commands)</code></div>
|
|
<div class="col-last even-row-color">
|
|
<div class="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>
|
|
<footer role="contentinfo">
|
|
<hr>
|
|
<p class="legal-copy"><small>Copyright © 2022. All rights reserved.</small></p>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|