tdlight-docs/tdlight.api/it/tdlight/jni/class-use/TdApi.ChatAdministratorRights.html
2023-05-09 10:23:24 +00:00

196 lines
16 KiB
HTML

<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>Uses of Class it.tdlight.jni.TdApi.ChatAdministratorRights (TDLight API 4.0.369 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: ChatAdministratorRights">
<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.6.0.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.ChatAdministratorRights.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.ChatAdministratorRights" class="title">Uses of Class<br>it.tdlight.jni.TdApi.ChatAdministratorRights</h1>
</div>
<section class="class-uses">
<ul class="block-list">
<li>
<section class="detail" id="it.tdlight.jni">
<h2>Uses of <a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</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.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</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.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">TdApi.InternalLinkTypeBotAddToChannel.</span><code><a href="../TdApi.InternalLinkTypeBotAddToChannel.html#administratorRights" class="member-name-link">administratorRights</a></code></div>
<div class="col-last even-row-color">
<div class="block">Expected administrator rights for the bot.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">TdApi.InternalLinkTypeBotStartInGroup.</span><code><a href="../TdApi.InternalLinkTypeBotStartInGroup.html#administratorRights" class="member-name-link">administratorRights</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Expected administrator rights for the bot; may be null.</div>
</div>
<div class="col-first even-row-color"><code><a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">TdApi.KeyboardButtonTypeRequestChat.</span><code><a href="../TdApi.KeyboardButtonTypeRequestChat.html#botAdministratorRights" class="member-name-link">botAdministratorRights</a></code></div>
<div class="col-last even-row-color">
<div class="block">Expected bot administrator rights in the chat; may be null if they aren&#039;t restricted.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">TdApi.BotInfo.</span><code><a href="../TdApi.BotInfo.html#defaultChannelAdministratorRights" class="member-name-link">defaultChannelAdministratorRights</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Default administrator rights for adding the bot to channels; may be null.</div>
</div>
<div class="col-first even-row-color"><code><a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">TdApi.SetDefaultChannelAdministratorRights.</span><code><a href="../TdApi.SetDefaultChannelAdministratorRights.html#defaultChannelAdministratorRights" class="member-name-link">defaultChannelAdministratorRights</a></code></div>
<div class="col-last even-row-color">
<div class="block">Default administrator rights for adding the bot to channels; may be null.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">TdApi.BotInfo.</span><code><a href="../TdApi.BotInfo.html#defaultGroupAdministratorRights" class="member-name-link">defaultGroupAdministratorRights</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Default administrator rights for adding the bot to basic group and supergroup chats; may be null.</div>
</div>
<div class="col-first even-row-color"><code><a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">TdApi.SetDefaultGroupAdministratorRights.</span><code><a href="../TdApi.SetDefaultGroupAdministratorRights.html#defaultGroupAdministratorRights" class="member-name-link">defaultGroupAdministratorRights</a></code></div>
<div class="col-last even-row-color">
<div class="block">Default administrator rights for adding the bot to basic group and supergroup chats; may be null.</div>
</div>
<div class="col-first odd-row-color"><code><a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">TdApi.ChatMemberStatusAdministrator.</span><code><a href="../TdApi.ChatMemberStatusAdministrator.html#rights" class="member-name-link">rights</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Rights of the administrator.</div>
</div>
<div class="col-first even-row-color"><code><a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">TdApi.KeyboardButtonTypeRequestChat.</span><code><a href="../TdApi.KeyboardButtonTypeRequestChat.html#userAdministratorRights" class="member-name-link">userAdministratorRights</a></code></div>
<div class="col-last even-row-color">
<div class="block">Expected user administrator rights in the chat; may be null if they aren&#039;t restricted.</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.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</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>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../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>(<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>&nbsp;shortDescription,
<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>&nbsp;description,
<a href="../TdApi.Photo.html" title="class in it.tdlight.jni">TdApi.Photo</a>&nbsp;photo,
<a href="../TdApi.Animation.html" title="class in it.tdlight.jni">TdApi.Animation</a>&nbsp;animation,
<a href="../TdApi.BotMenuButton.html" title="class in it.tdlight.jni">TdApi.BotMenuButton</a>&nbsp;menuButton,
<a href="../TdApi.BotCommand.html" title="class in it.tdlight.jni">TdApi.BotCommand</a>[]&nbsp;commands,
<a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a>&nbsp;defaultGroupAdministratorRights,
<a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a>&nbsp;defaultChannelAdministratorRights,
<a href="../TdApi.InternalLinkType.html" title="class in it.tdlight.jni">TdApi.InternalLinkType</a>&nbsp;editCommandsLink,
<a href="../TdApi.InternalLinkType.html" title="class in it.tdlight.jni">TdApi.InternalLinkType</a>&nbsp;editDescriptionLink,
<a href="../TdApi.InternalLinkType.html" title="class in it.tdlight.jni">TdApi.InternalLinkType</a>&nbsp;editDescriptionMediaLink,
<a href="../TdApi.InternalLinkType.html" title="class in it.tdlight.jni">TdApi.InternalLinkType</a>&nbsp;editSettingsLink)</code></div>
<div class="col-last even-row-color">
<div class="block">Contains information about a bot.</div>
</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../TdApi.ChatMemberStatusAdministrator.html#%3Cinit%3E(java.lang.String,boolean,it.tdlight.jni.TdApi.ChatAdministratorRights)" class="member-name-link">ChatMemberStatusAdministrator</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>&nbsp;customTitle,
boolean&nbsp;canBeEdited,
<a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a>&nbsp;rights)</code></div>
<div class="col-last odd-row-color">
<div class="block">The user is a member of the chat and has some additional privileges.</div>
</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../TdApi.InternalLinkTypeBotAddToChannel.html#%3Cinit%3E(java.lang.String,it.tdlight.jni.TdApi.ChatAdministratorRights)" class="member-name-link">InternalLinkTypeBotAddToChannel</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>&nbsp;botUsername,
<a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a>&nbsp;administratorRights)</code></div>
<div class="col-last even-row-color">
<div class="block">The link is a link to a Telegram bot, which is supposed to be added to a channel chat as an administrator.</div>
</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../TdApi.InternalLinkTypeBotStartInGroup.html#%3Cinit%3E(java.lang.String,java.lang.String,it.tdlight.jni.TdApi.ChatAdministratorRights)" class="member-name-link">InternalLinkTypeBotStartInGroup</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>&nbsp;botUsername,
<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>&nbsp;startParameter,
<a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a>&nbsp;administratorRights)</code></div>
<div class="col-last odd-row-color">
<div class="block">The link is a link to a Telegram bot, which is supposed to be added to a group chat.</div>
</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../TdApi.KeyboardButtonTypeRequestChat.html#%3Cinit%3E(int,boolean,boolean,boolean,boolean,boolean,boolean,it.tdlight.jni.TdApi.ChatAdministratorRights,it.tdlight.jni.TdApi.ChatAdministratorRights,boolean)" class="member-name-link">KeyboardButtonTypeRequestChat</a><wbr>(int&nbsp;id,
boolean&nbsp;chatIsChannel,
boolean&nbsp;restrictChatIsForum,
boolean&nbsp;chatIsForum,
boolean&nbsp;restrictChatHasUsername,
boolean&nbsp;chatHasUsername,
boolean&nbsp;chatIsCreated,
<a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a>&nbsp;userAdministratorRights,
<a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a>&nbsp;botAdministratorRights,
boolean&nbsp;botIsMember)</code></div>
<div class="col-last even-row-color">
<div class="block">A button that requests a chat to be shared by the current user; available only in private chats.</div>
</div>
<div class="col-first odd-row-color"><code>&nbsp;</code></div>
<div class="col-second odd-row-color"><code><a href="../TdApi.SetDefaultChannelAdministratorRights.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatAdministratorRights)" class="member-name-link">SetDefaultChannelAdministratorRights</a><wbr>(<a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a>&nbsp;defaultChannelAdministratorRights)</code></div>
<div class="col-last odd-row-color">
<div class="block">Sets default administrator rights for adding the bot to channel chats; for bots only.</div>
</div>
<div class="col-first even-row-color"><code>&nbsp;</code></div>
<div class="col-second even-row-color"><code><a href="../TdApi.SetDefaultGroupAdministratorRights.html#%3Cinit%3E(it.tdlight.jni.TdApi.ChatAdministratorRights)" class="member-name-link">SetDefaultGroupAdministratorRights</a><wbr>(<a href="../TdApi.ChatAdministratorRights.html" title="class in it.tdlight.jni">TdApi.ChatAdministratorRights</a>&nbsp;defaultGroupAdministratorRights)</code></div>
<div class="col-last even-row-color">
<div class="block">Sets default administrator rights for adding the bot to basic group and supergroup chats; for bots only.</div>
</div>
</div>
</section>
</li>
</ul>
</section>
</main>
<footer role="contentinfo">
<hr>
<p class="legal-copy"><small>Copyright &#169; 2023. All rights reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>