Update content of files

This commit is contained in:
GitHub Action 2022-03-03 08:55:02 +00:00
parent 76792012d7
commit c1839e3862
6 changed files with 10 additions and 10 deletions

View file

@ -133,7 +133,7 @@
<p>Telegram allows applying detailed message filters while looking for messages in chats.
This allows the server to filter messages based on a text query, and even on their type, and this feature is often used by graphical clients to implement features like the chat gallery, chat profile pictures and more.</p>
<h3><a class="anchor" href="#polls" id="polls" name="polls"><i class="anchor-icon"></i></a><a href="/api/poll">Polls</a></h3>
<p>Telegram allows sending polls and quizes, that can be voted on by thousands, if not millions of users in chats and channels.</p>
<p>Telegram allows sending polls and quizzes, that can be voted on by thousands, if not millions of users in chats and channels.</p>
<h4><a class="anchor" href="#admin-banned-and-default-rights-for-channels-supergroups-and-groups" id="admin-banned-and-default-rights-for-channels-supergroups-and-groups" name="admin-banned-and-default-rights-for-channels-supergroups-and-groups"><i class="anchor-icon"></i></a><a href="/api/rights">Admin, banned and default rights for channels, supergroups and groups</a></h4>
<p>How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.</p>
<h4><a class="anchor" href="#discussion-groups" id="discussion-groups" name="discussion-groups"><i class="anchor-icon"></i></a><a href="/api/discussion">Discussion groups</a></h4>

View file

@ -133,7 +133,7 @@
<p>Telegram allows applying detailed message filters while looking for messages in chats.
This allows the server to filter messages based on a text query, and even on their type, and this feature is often used by graphical clients to implement features like the chat gallery, chat profile pictures and more.</p>
<h3><a class="anchor" href="#polls" id="polls" name="polls"><i class="anchor-icon"></i></a><a href="/api/poll">Polls</a></h3>
<p>Telegram allows sending polls and quizes, that can be voted on by thousands, if not millions of users in chats and channels.</p>
<p>Telegram allows sending polls and quizzes, that can be voted on by thousands, if not millions of users in chats and channels.</p>
<h4><a class="anchor" href="#admin-banned-and-default-rights-for-channels-supergroups-and-groups" id="admin-banned-and-default-rights-for-channels-supergroups-and-groups" name="admin-banned-and-default-rights-for-channels-supergroups-and-groups"><i class="anchor-icon"></i></a><a href="/api/rights">Admin, banned and default rights for channels, supergroups and groups</a></h4>
<p>How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.</p>
<h4><a class="anchor" href="#discussion-groups" id="discussion-groups" name="discussion-groups"><i class="anchor-icon"></i></a><a href="/api/discussion">Discussion groups</a></h4>

View file

@ -1654,7 +1654,7 @@ Notice that all <code>PINNED_*</code> <a href="https://core.telegram.org/api/pus
<a href="/method/messages.getPollVotes">messages.getPollVotes</a>#b86e380e flags:<a href="/type/%23">#</a> peer:<a href="/type/InputPeer">InputPeer</a> id:<a href="/type/int">int</a> option:flags.0?<a href="/type/bytes">bytes</a> offset:flags.1?<a href="/type/string">string</a> limit:<a href="/type/int">int</a> = <a href="/type/messages.VotesList">messages.VotesList</a>;
<a href="/method/messages.toggleStickerSets">messages.toggleStickerSets</a>#b5052fea flags:<a href="/type/%23">#</a> uninstall:flags.0?<a href="/constructor/true">true</a> archive:flags.1?<a href="/constructor/true">true</a> unarchive:flags.2?<a href="/constructor/true">true</a> stickersets:<a href="/type/Vector%20t">Vector</a>&lt;<a href="/type/InputStickerSet">InputStickerSet</a>&gt; = <a href="/type/Bool">Bool</a>;<br></code></pre></div>
<h3><a class="anchor" href="#layer-108" id="layer-108" name="layer-108"><i class="anchor-icon"></i></a><a href="/schema?layer=108">Layer 108</a></h3>
<p>Login with QR-code, sensitive content settings, quizes, multiple-choice and public polls, get inactive chats, improved wallpapers and themes.</p>
<p>Login with QR-code, sensitive content settings, quizzes, multiple-choice and public polls, get inactive chats, improved wallpapers and themes.</p>
<h4><a class="anchor" href="#schema-changes" id="schema-changes" name="schema-changes"><i class="anchor-icon"></i></a>Schema changes</h4>
<h5><a class="anchor" href="#new-methods" id="new-methods" name="new-methods"><i class="anchor-icon"></i></a>New Methods</h5>
<ul>

View file

@ -4,10 +4,10 @@
<meta charset="utf-8">
<title>Poll</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Telegram allows sending polls and quizes, that can be voted on by thousands, if not millions of users in chats and channels.">
<meta property="description" content="Telegram allows sending polls and quizzes, that can be voted on by thousands, if not millions of users in chats and channels.">
<meta property="og:title" content="Poll">
<meta property="og:image" content="">
<meta property="og:description" content="Telegram allows sending polls and quizes, that can be voted on by thousands, if not millions of users in chats and channels.">
<meta property="og:description" content="Telegram allows sending polls and quizzes, that can be voted on by thousands, if not millions of users in chats and channels.">
<link rel="shortcut icon" href="/favicon.ico?4" type="image/x-icon" />
<link href="/css/bootstrap.min.css?3" rel="stylesheet">
@ -41,7 +41,7 @@
<div id="dev_page_content"><!-- scroll_nav -->
<p>Telegram allows sending polls and quizes, that can be voted on by thousands, if not millions of users in chats and channels.</p>
<p>Telegram allows sending polls and quizzes, that can be voted on by thousands, if not millions of users in chats and channels.</p>
<h3><a class="anchor" href="#sending-a-poll" id="sending-a-poll" name="sending-a-poll"><i class="anchor-icon"></i></a>Sending a poll</h3>
<pre><code><a href='/constructor/pollAnswer'>pollAnswer</a>#6ca9c2e9 text:<a href='/type/string'>string</a> option:<a href='/type/bytes'>bytes</a> = <a href='/type/PollAnswer'>PollAnswer</a>;
@ -69,7 +69,7 @@ These last two parameters are exactly the same, except that one uses absolute, t
</ul>
</li>
<li>
<p><code>correct_answers</code> - For quizes, option ID of the only correct answer</p>
<p><code>correct_answers</code> - For quizzes, option ID of the only correct answer</p>
</li>
<li>
<p><code>solution</code> - Text that is shown when a user chooses an incorrect answer or taps on the lamp icon in a quiz-style poll, 0-200 characters with at most 2 line feeds</p>

View file

@ -76,7 +76,7 @@
<tr>
<td><strong>correct</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.1?<a href="/constructor/true">true</a></td>
<td>For quizes, whether the option we have chosen is correct</td>
<td>For quizzes, whether the option we have chosen is correct</td>
</tr>
<tr>
<td><strong>option</strong></td>

View file

@ -368,7 +368,7 @@
<tr>
<td>400</td>
<td>QUIZ_CORRECT_ANSWERS_TOO_MUCH</td>
<td>You specified too many correct answers in a quiz, quizes can only have one right answer!</td>
<td>You specified too many correct answers in a quiz, quizzes can only have one right answer!</td>
</tr>
<tr>
<td>400</td>
@ -378,7 +378,7 @@
<tr>
<td>400</td>
<td>QUIZ_MULTIPLE_INVALID</td>
<td>Quizes can't have the multiple_choice flag set!</td>
<td>quizzes can't have the multiple_choice flag set!</td>
</tr>
<tr>
<td>500</td>