244 lines
12 KiB
HTML
244 lines
12 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc -->
|
|
<title>Uses of Class it.tdlight.jni.TdApi.BotCommandScope (tdlight API 3.3.155 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 http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="description" content="use: package: it.tdlight.jni, class: TdApi, class: BotCommandScope">
|
|
<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="../package-summary.html">Package</a></li>
|
|
<li><a href="../TdApi.BotCommandScope.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="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="sub-nav">
|
|
<div class="nav-list-search"><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" 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.BotCommandScope" class="title">Uses of Class<br>it.tdlight.jni.TdApi.BotCommandScope</h1>
|
|
</div>
|
|
<section class="class-uses">
|
|
<ul class="block-list">
|
|
<li>
|
|
<section class="detail" id="it.tdlight.jni">
|
|
<h2>Uses of <a href="../TdApi.BotCommandScope.html" title="class in it.tdlight.jni">TdApi.BotCommandScope</a> in <a href="../package-summary.html">it.tdlight.jni</a></h2>
|
|
<div class="use-summary">
|
|
<table class="summary-table">
|
|
<caption><span>Subclasses of <a href="../TdApi.BotCommandScope.html" title="class in it.tdlight.jni">TdApi.BotCommandScope</a> in <a href="../package-summary.html">it.tdlight.jni</a></span></caption>
|
|
<thead>
|
|
<tr>
|
|
<th class="col-first" scope="col">Modifier and Type</th>
|
|
<th class="col-second" scope="col">Class</th>
|
|
<th class="col-last" scope="col">Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.BotCommandScopeAllChatAdministrators.html" title="class in it.tdlight.jni">TdApi.BotCommandScopeAllChatAdministrators</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">A scope covering all group and supergroup chat administrators.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.BotCommandScopeAllGroupChats.html" title="class in it.tdlight.jni">TdApi.BotCommandScopeAllGroupChats</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">A scope covering all group and supergroup chats.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.BotCommandScopeAllPrivateChats.html" title="class in it.tdlight.jni">TdApi.BotCommandScopeAllPrivateChats</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">A scope covering all private chats.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.BotCommandScopeChat.html" title="class in it.tdlight.jni">TdApi.BotCommandScopeChat</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">A scope covering all members of a chat.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.BotCommandScopeChatAdministrators.html" title="class in it.tdlight.jni">TdApi.BotCommandScopeChatAdministrators</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">A scope covering all administrators
|
|
of a chat.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.BotCommandScopeChatMember.html" title="class in it.tdlight.jni">TdApi.BotCommandScopeChatMember</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">A scope covering a member of a chat.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code>static class </code></td>
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.BotCommandScopeDefault.html" title="class in it.tdlight.jni">TdApi.BotCommandScopeDefault</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">A scope covering all users.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="use-summary">
|
|
<table class="summary-table">
|
|
<caption><span>Fields in <a href="../package-summary.html">it.tdlight.jni</a> declared as <a href="../TdApi.BotCommandScope.html" title="class in it.tdlight.jni">TdApi.BotCommandScope</a></span></caption>
|
|
<thead>
|
|
<tr>
|
|
<th class="col-first" scope="col">Modifier and Type</th>
|
|
<th class="col-second" scope="col">Field</th>
|
|
<th class="col-last" scope="col">Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code><a href="../TdApi.BotCommandScope.html" title="class in it.tdlight.jni">TdApi.BotCommandScope</a></code></td>
|
|
<th class="col-second" scope="row"><span class="type-name-label">TdApi.DeleteCommands.</span><code><span class="member-name-link"><a href="../TdApi.DeleteCommands.html#scope">scope</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The scope to which the commands are
|
|
relevant; pass null to delete commands
|
|
in the default bot command scope.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<td class="col-first"><code><a href="../TdApi.BotCommandScope.html" title="class in it.tdlight.jni">TdApi.BotCommandScope</a></code></td>
|
|
<th class="col-second" scope="row"><span class="type-name-label">TdApi.GetCommands.</span><code><span class="member-name-link"><a href="../TdApi.GetCommands.html#scope">scope</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The scope to which the commands are
|
|
relevant; pass null to get commands
|
|
in the default bot command scope.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<td class="col-first"><code><a href="../TdApi.BotCommandScope.html" title="class in it.tdlight.jni">TdApi.BotCommandScope</a></code></td>
|
|
<th class="col-second" scope="row"><span class="type-name-label">TdApi.SetCommands.</span><code><span class="member-name-link"><a href="../TdApi.SetCommands.html#scope">scope</a></span></code></th>
|
|
<td class="col-last">
|
|
<div class="block">The scope to which the commands are
|
|
relevant; pass null to change commands
|
|
in the default bot command scope.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="use-summary">
|
|
<table class="summary-table">
|
|
<caption><span>Constructors in <a href="../package-summary.html">it.tdlight.jni</a> with parameters of type <a href="../TdApi.BotCommandScope.html" title="class in it.tdlight.jni">TdApi.BotCommandScope</a></span></caption>
|
|
<thead>
|
|
<tr>
|
|
<th class="col-first" scope="col">Constructor</th>
|
|
<th class="col-last" scope="col">Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr class="alt-color">
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.DeleteCommands.html#%3Cinit%3E(it.tdlight.jni.TdApi.BotCommandScope,java.lang.String)">DeleteCommands</a></span>​(<a href="../TdApi.BotCommandScope.html" title="class in it.tdlight.jni">TdApi.BotCommandScope</a> scope,
|
|
<a href="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>
|
|
<td class="col-last">
|
|
<div class="block">Deletes commands supported by the bot
|
|
for the given user scope and language;
|
|
for bots only.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="row-color">
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.GetCommands.html#%3Cinit%3E(it.tdlight.jni.TdApi.BotCommandScope,java.lang.String)">GetCommands</a></span>​(<a href="../TdApi.BotCommandScope.html" title="class in it.tdlight.jni">TdApi.BotCommandScope</a> scope,
|
|
<a href="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>
|
|
<td class="col-last">
|
|
<div class="block">Returns the list of commands supported
|
|
by the bot for the given user scope
|
|
and language; for bots only.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="alt-color">
|
|
<th class="col-second" scope="row"><code><span class="member-name-link"><a href="../TdApi.SetCommands.html#%3Cinit%3E(it.tdlight.jni.TdApi.BotCommandScope,java.lang.String,it.tdlight.jni.TdApi.BotCommand%5B%5D)">SetCommands</a></span>​(<a href="../TdApi.BotCommandScope.html" title="class in it.tdlight.jni">TdApi.BotCommandScope</a> scope,
|
|
<a href="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,
|
|
<a href="../TdApi.BotCommand.html" title="class in it.tdlight.jni">TdApi.BotCommand</a>[] commands)</code></th>
|
|
<td class="col-last">
|
|
<div class="block">Sets the list of commands supported
|
|
by the bot for the given user scope
|
|
and language; for bots only.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</main>
|
|
<footer role="contentinfo">
|
|
<nav role="navigation">
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottom-nav" id="navbar.bottom">
|
|
<div class="skip-nav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<ul id="navbar.bottom.firstrow" class="nav-list" title="Navigation">
|
|
<li><a href="../package-summary.html">Package</a></li>
|
|
<li><a href="../TdApi.BotCommandScope.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="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<span class="skip-nav" id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</span></nav>
|
|
<p class="legal-copy"><small>Copyright © 2021. All rights reserved.</small></p>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|