Update content of files

This commit is contained in:
GitHub Action 2023-04-15 14:46:12 +00:00
parent 5802567c7a
commit 7883298258
4 changed files with 4 additions and 4 deletions

View file

@ -95,7 +95,7 @@ To send messages to these topics, pass the topic ID to the <code>reply_msg_id</c
Replies to messages within a topic work as usual (simply pass the ID of the message to reply to to <code>reply_msg_id</code>, ignoring the topic ID), however, since <a href="/api/threads">message threads</a> can't have nested message threads, topics (except for the "General" topic) also can't have message threads (so replies to messages within topics won't generate further message threads). </p>
<p>Topics have a name (<code>title</code>) and an icon: the icon can be a <a href="/api/custom-emoji">custom emoji</a> specified by the <code>icon_emoji_id</code>, or a default chat icon if <code>icon_emoji_id</code> is not set, filled with the color specified in <code>icon_color</code>.<br>
Topics can be temporarily <code>closed</code>, preventing further messages from being sent to the topic.<br>
Additionally, the "General" topic may also be <code>hidden</code>.<br>
Additionally, (only) the "General" topic may also be <code>hidden</code>.<br>
All topics except for the "General" topic can be deleted by invoking <a href="/method/channels.deleteTopicHistory">channels.deleteTopicHistory</a>, with the topic ID. </p>
<p>Topics can be created by using the <a href="/method/channels.createForumTopic">channels.createForumTopic</a> method, and may be modified with the <a href="/method/channels.editForumTopic">channels.editForumTopic</a> method: these actions require <a href="/api/rights"><code>manage_topics</code> rights</a>, and will generate <a href="/constructor/messageActionTopicCreate">messageActionTopicCreate</a>/<a href="/constructor/messageActionTopicEdit">messageActionTopicEdit</a> service messages. </p>
<p>Note that <a href="/api/premium">Telegram Premium</a> users can pass any custom emoji to <code>icon_emoji_id</code>, while other users can only use the custom emojis contained in the <a href="/constructor/inputStickerSetEmojiDefaultTopicIcons">inputStickerSetEmojiDefaultTopicIcons</a> emoji pack.<br>

View file

@ -329,7 +329,7 @@ Currently, only official apps can make use of Safetynet/Firebase SMS authenticat
<a href="/method/photos.uploadContactProfilePhoto">photos.uploadContactProfilePhoto</a>#b91a83bf flags:<a href="/type/%23">#</a> suggest:flags.3?<a href="/constructor/true">true</a> save:flags.4?<a href="/constructor/true">true</a> user_id:<a href="/type/InputUser">InputUser</a> file:flags.0?<a href="/type/InputFile">InputFile</a> video:flags.1?<a href="/type/InputFile">InputFile</a> video_start_ts:flags.2?<a href="/type/double">double</a> = <a href="/type/photos.Photo">photos.Photo</a>;<br>
<a href="/method/channels.toggleParticipantsHidden">channels.toggleParticipantsHidden</a>#6a6e7854 channel:<a href="/type/InputChannel">InputChannel</a> enabled:<a href="/type/Bool">Bool</a> = <a href="/type/Updates">Updates</a>;<br></code></pre></div>
<h3><a class="anchor" href="#layer-150" id="layer-150" name="layer-150"><i class="anchor-icon"></i></a><a href="/schema?layer=150">Layer 150</a></h3>
<p><a href="https://fragment.com">Fragment</a> phone numbers, native group antispam, message autodeletion in groups.</p>
<p><a href="https://fragment.com">Fragment »</a> phone numbers, <a href="/api/links#temporary-profile-links">temporary profile links »</a>, <a href="/api/antispam">native group antispam »</a>, message autodeletion in groups, allow hiding the "General" <a href="/api/forum#forum-topics">forum topic</a>. </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

@ -89,7 +89,7 @@
<tr>
<td><strong>hidden</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/Bool">Bool</a></td>
<td>Whether the topic was hidden.</td>
<td>Whether the topic was hidden (only valid for the "General" topic, <code>id=1</code>).</td>
</tr>
</tbody>
</table>

View file

@ -107,7 +107,7 @@
<tr>
<td><strong>hidden</strong></td>
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.3?<a href="/type/Bool">Bool</a></td>
<td>If present, will hide/unhide the topic.</td>
<td>If present, will hide/unhide the topic (only valid for the "General" topic, <code>id=1</code>).</td>
</tr>
</tbody>
</table>