mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-01-05 18:38:19 +01:00
Update content of files
This commit is contained in:
parent
9e8422805a
commit
a9b2f60795
4 changed files with 44 additions and 31 deletions
|
@ -204,7 +204,7 @@ While <a href="/method/help.getConfig">help.getConfig</a> returns MTProto-specif
|
|||
"diameter": 384,
|
||||
"video_bitrate": 1000,
|
||||
"audio_bitrate": 64,
|
||||
"max_size": 12582912
|
||||
"max_size": 16777216
|
||||
},
|
||||
"chat_read_mark_expire_period": 604800,
|
||||
"chat_read_mark_size_threshold": 100,
|
||||
|
@ -322,7 +322,10 @@ While <a href="/method/help.getConfig">help.getConfig</a> returns MTProto-specif
|
|||
"channel_profile_bg_icon_level_min": 7,
|
||||
"channel_emoji_status_level_min": 8,
|
||||
"channel_wallpaper_level_min": 9,
|
||||
"channel_custom_wallpaper_level_min": 10
|
||||
"channel_custom_wallpaper_level_min": 10,
|
||||
"saved_dialogs_pinned_limit_default": 5,
|
||||
"saved_dialogs_pinned_limit_premium": 100,
|
||||
"pm_read_date_expire_period": 604800
|
||||
}</code></pre>
|
||||
<p>Typical fields included in the resulting JSON object are: </p>
|
||||
<h4><a class="anchor" href="#emojies-animated-zoom" id="emojies-animated-zoom" name="emojies-animated-zoom"><i class="anchor-icon"></i></a><code>emojies_animated_zoom</code></h4>
|
||||
|
@ -381,7 +384,9 @@ When fetching the admin list of a supergroup using <a href="/method/channels.get
|
|||
<h4><a class="anchor" href="#chat-read-mark-size-threshold" id="chat-read-mark-size-threshold" name="chat-read-mark-size-threshold"><i class="anchor-icon"></i></a><code>chat_read_mark_size_threshold</code></h4>
|
||||
<p>Per-user read receipts, fetchable using <a href="/method/messages.getMessageReadParticipants">messages.getMessageReadParticipants</a>, will be available in groups with an amount of participants less or equal to <code>chat_read_mark_size_threshold</code>. (integer)</p>
|
||||
<h4><a class="anchor" href="#chat-read-mark-expire-period" id="chat-read-mark-expire-period" name="chat-read-mark-expire-period"><i class="anchor-icon"></i></a><code>chat_read_mark_expire_period</code></h4>
|
||||
<p>To protect user privacy, read receipts are only stored for <code>chat_read_mark_expire_period</code> seconds after the message was sent. (integer)</p>
|
||||
<p>To protect user privacy, read receipts for chats are only stored for <code>chat_read_mark_expire_period</code> seconds after the message was sent. (integer)</p>
|
||||
<h4><a class="anchor" href="#pm-read-date-expire-period" id="pm-read-date-expire-period" name="pm-read-date-expire-period"><i class="anchor-icon"></i></a><code>pm_read_date_expire_period</code></h4>
|
||||
<p>To protect user privacy, read receipts for private chats are only stored for <code>pm_read_date_expire_period</code> seconds after the message was sent. (integer)</p>
|
||||
<h4><a class="anchor" href="#groupcall-video-participants-max" id="groupcall-video-participants-max" name="groupcall-video-participants-max"><i class="anchor-icon"></i></a><code>groupcall_video_participants_max</code></h4>
|
||||
<p>Maximum number of participants in a group call (livestreams allow ∞ participants) (integer)</p>
|
||||
<h4><a class="anchor" href="#reactions-uniq-max" id="reactions-uniq-max" name="reactions-uniq-max"><i class="anchor-icon"></i></a><code>reactions_uniq_max</code></h4>
|
||||
|
@ -557,6 +562,10 @@ Note that the stickerset can be fetched using <a href="/constructor/inputSticker
|
|||
<p>After reaching at least this <a href="/api/boost">boost level »</a>, channels gain the ability to set a <a href="/api/wallpapers#channel-wallpapers">fill channel wallpaper, see here » for more info</a>. (integer)</p>
|
||||
<h4><a class="anchor" href="#channel-custom-wallpaper-level-min" id="channel-custom-wallpaper-level-min" name="channel-custom-wallpaper-level-min"><i class="anchor-icon"></i></a><code>channel_custom_wallpaper_level_min</code></h4>
|
||||
<p>After reaching at least this <a href="/api/boost">boost level »</a>, channels gain the ability to set any custom <a href="/api/wallpapers">wallpaper</a>, not just <a href="/api/wallpapers">fill channel wallpapers, see here » for more info</a>. (integer)</p>
|
||||
<h4><a class="anchor" href="#saved-dialogs-pinned-limit-default" id="saved-dialogs-pinned-limit-default" name="saved-dialogs-pinned-limit-default"><i class="anchor-icon"></i></a><code>saved_dialogs_pinned_limit_default</code></h4>
|
||||
<p>Maximum number of pinned dialogs in <a href="/api/saved-messages">saved messages</a> for non-<a href="/api/premium">Premium</a> users. (integer)</p>
|
||||
<h4><a class="anchor" href="#saved-dialogs-pinned-limit-premium" id="saved-dialogs-pinned-limit-premium" name="saved-dialogs-pinned-limit-premium"><i class="anchor-icon"></i></a><code>saved_dialogs_pinned_limit_premium</code></h4>
|
||||
<p>Maximum number of pinned dialogs in <a href="/api/saved-messages">saved messages</a> for <a href="/api/premium">Premium</a> users. (integer)</p>
|
||||
<h3><a class="anchor" href="#suggestions" id="suggestions" name="suggestions"><i class="anchor-icon"></i></a>Suggestions</h3>
|
||||
<p>The API can return a set of useful suggestions for users of graphical clients. </p>
|
||||
<h4><a class="anchor" href="#basic-suggestions" id="basic-suggestions" name="basic-suggestions"><i class="anchor-icon"></i></a>Basic suggestions</h4>
|
||||
|
|
|
@ -46,6 +46,33 @@
|
|||
|
||||
<p>Below you will find information on schema changes. For more details on the use of layers, see <a href="/api/invoking#layers">Invoking API methods</a>.</p>
|
||||
<h3><a class="anchor" href="#layer-170" id="layer-170" name="layer-170"><i class="anchor-icon"></i></a><a href="/schema?layer=170">Layer 170</a></h3>
|
||||
<p>To view all the changes since the last update, start reading the changelog @ <a href="#layer-159">Layer 159</a>.</p>
|
||||
<p>Most importantly, the following detailed articles were added:</p>
|
||||
<ul>
|
||||
<li><a href="/api/stories">Working with stories »</a></li>
|
||||
<li><a href="/api/boost">Working with boosts »</a></li>
|
||||
<li><a href="/api/giveaways">Working with giveaways »</a></li>
|
||||
<li><a href="/api/colors">Working with accent colors »</a></li>
|
||||
<li><a href="/api/recommend">Working with the recommendation system »</a></li>
|
||||
<li><a href="/api/action-bar">Working with the action bar »</a></li>
|
||||
<li><a href="/api/contacts">Working with contacts »</a></li>
|
||||
<li><a href="/api/block">Working with the blocklist »</a></li>
|
||||
<li><a href="/api/nearby">Working with geochats »</a></li>
|
||||
<li><a href="/api/privacy">Working with privacy settings »</a></li>
|
||||
<li><a href="/api/takeout">Working with the takeout API »</a></li>
|
||||
<li><a href="/api/saved-messages">Working with saved messages »</a></li>
|
||||
</ul>
|
||||
<p>Also added documentation for <a href="/api/files#streamed-uploads">streamed uploads</a> and improved the <a href="/api/invoking#sequential-requests">method queue</a> documentation.</p>
|
||||
<p>The <a href="/api/errors#error-database">RPC error database »</a> was also updated.</p>
|
||||
<p>The following new deep links were added:</p>
|
||||
<ul>
|
||||
<li><a href="/api/links#story-links">Story links »</a></li>
|
||||
<li><a href="/api/links#boost-links">Boost links »</a></li>
|
||||
<li><a href="/api/links#mini-app-links">Direct mini app links »</a></li>
|
||||
<li><a href="/api/links#premium-giftcode-links">Premium giftcode links »</a></li>
|
||||
<li><a href="/api/links#premium-multigift-links">Premium multigift links »</a></li>
|
||||
</ul>
|
||||
<p>This layer introduces the <a href="/api/saved-messages">saved messages dialog list »</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>
|
||||
|
@ -98,6 +125,7 @@
|
|||
<a href="/method/messages.toggleSavedDialogPin">messages.toggleSavedDialogPin</a>#ac81bbde flags:<a href="/type/%23">#</a> pinned:flags.0?<a href="/constructor/true">true</a> peer:<a href="/type/InputDialogPeer">InputDialogPeer</a> = <a href="/type/Bool">Bool</a>;
|
||||
<a href="/method/messages.reorderPinnedSavedDialogs">messages.reorderPinnedSavedDialogs</a>#8b716587 flags:<a href="/type/%23">#</a> force:flags.0?<a href="/constructor/true">true</a> order:<a href="/type/Vector%20t">Vector</a><<a href="/type/InputDialogPeer">InputDialogPeer</a>> = <a href="/type/Bool">Bool</a>;<br></code></pre></div>
|
||||
<h3><a class="anchor" href="#layer-169" id="layer-169" name="layer-169"><i class="anchor-icon"></i></a><a href="/schema?layer=169">Layer 169</a></h3>
|
||||
<p>Allow requesting and sending more than one peer using <a href="/constructor/keyboardButtonRequestPeer">keyboardButtonRequestPeer</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="#changed-methods" id="changed-methods" name="changed-methods"><i class="anchor-icon"></i></a>Changed Methods</h5>
|
||||
<ul>
|
||||
|
@ -114,7 +142,8 @@
|
|||
---functions---<br>
|
||||
<a href="/method/messages.sendBotRequestedPeer">messages.sendBotRequestedPeer</a>#91b2d060 peer:<a href="/type/InputPeer">InputPeer</a> msg_id:<a href="/type/int">int</a> button_id:<a href="/type/int">int</a> requested_peers:<a href="/type/Vector%20t">Vector</a><<a href="/type/InputPeer">InputPeer</a>> = <a href="/type/Updates">Updates</a>;<br></code></pre></div>
|
||||
<h3><a class="anchor" href="#layer-168" id="layer-168" name="layer-168"><i class="anchor-icon"></i></a><a href="/schema?layer=168">Layer 168</a></h3>
|
||||
<p>The <code>channel_color_level_min</code> config parameter was removed.</p>
|
||||
<p>Added support for <a href="/api/emoji-statuses">emoji statuses</a>, <a href="/api/wallpapers">wallpapers</a> and <a href="/api/colors">profile color palettes</a> in channels, added support for custom prizes and public winners in <a href="/api/giveaways">giveaways</a> through <code>prize_description</code> and <code>winners_are_visible</code>+<a href="/constructor/messageMediaGiveawayResults">messageMediaGiveawayResults</a>, <a href="/api/stories#channel-posts">channel post embedding in stories</a> and a new <a href="/method/stories.getStoryReactionsList">stories.getStoryReactionsList</a> method to fetch reaction and interactions for channel stories and improved pagination in <a href="/method/stats.getMessagePublicForwards">stats.getMessagePublicForwards</a>. </p>
|
||||
<p>Also, bots now receive events about <a href="/api/reactions">reactions</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>
|
||||
|
@ -209,32 +238,6 @@
|
|||
<a href="/method/account.getChannelDefaultEmojiStatuses">account.getChannelDefaultEmojiStatuses</a>#7727a7d5 hash:<a href="/type/long">long</a> = <a href="/type/account.EmojiStatuses">account.EmojiStatuses</a>;
|
||||
<a href="/method/account.getChannelRestrictedStatusEmojis">account.getChannelRestrictedStatusEmojis</a>#35a9e0d5 hash:<a href="/type/long">long</a> = <a href="/type/EmojiList">EmojiList</a>;<br></code></pre></div>
|
||||
<h3><a class="anchor" href="#layer-167" id="layer-167" name="layer-167"><i class="anchor-icon"></i></a><a href="/schema?layer=167">Layer 167</a></h3>
|
||||
<p>To view all the changes since the last update, start reading the changelog @ <a href="#layer-159">Layer 159</a>.</p>
|
||||
<p>Most importantly, the following detailed articles were added:</p>
|
||||
<ul>
|
||||
<li><a href="/api/stories">Working with stories »</a></li>
|
||||
<li><a href="/api/boost">Working with boosts »</a></li>
|
||||
<li><a href="/api/giveaways">Working with giveaways »</a></li>
|
||||
<li><a href="/api/colors">Working with accent colors »</a></li>
|
||||
<li><a href="/api/recommend">Working with the recommendation system »</a></li>
|
||||
<li><a href="/api/action-bar">Working with the action bar »</a></li>
|
||||
<li><a href="/api/contacts">Working with contacts »</a></li>
|
||||
<li><a href="/api/block">Working with the blocklist »</a></li>
|
||||
<li><a href="/api/nearby">Working with geochats »</a></li>
|
||||
<li><a href="/api/privacy">Working with privacy settings »</a></li>
|
||||
<li><a href="/api/takeout">Working with the takeout API »</a></li>
|
||||
</ul>
|
||||
<p>Also added documentation for <a href="/api/files#streamed-uploads">streamed uploads</a> and improved the <a href="/api/invoking#sequential-requests">method queue</a> documentation.</p>
|
||||
<p>The <a href="/api/errors#error-database">RPC error database »</a> was also updated.</p>
|
||||
<p>The following new deep links were added:</p>
|
||||
<ul>
|
||||
<li><a href="/api/links#story-links">Story links »</a></li>
|
||||
<li><a href="/api/links#boost-links">Boost links »</a></li>
|
||||
<li><a href="/api/links#mini-app-links">Direct mini app links »</a></li>
|
||||
<li><a href="/api/links#premium-giftcode-links">Premium giftcode links »</a></li>
|
||||
<li><a href="/api/links#premium-multigift-links">Premium multigift links »</a></li>
|
||||
</ul>
|
||||
<p>And now, here are the changes that were made in this layer.</p>
|
||||
<p>Added support for <a href="/api/stories#reposting-stories">reposting stories</a>, <a href="/api/colors">profile colors</a>, <a href="/api/stories#statistics">story statistics</a>, <a href="/api/recommend">channel recommendations</a>, setting a <a href="/api/wallpapers#installing-wallpapers-in-a-specific-chat-or-channel">wallpaper on both sides of a chat</a>, <a href="/method/channels.toggleViewForumAsMessages">syncing the "View as messages" setting</a> for forums, <a href="/api/transcribe">audio transcription</a> for non-<a href="/api/premium">Premium</a> users, improved quotes, improved <a href="/api/sponsored-messages">sponsored messages</a> and improved methods for <a href="/api/custom-emoji">custom emoji stickersets</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>
|
||||
|
|
|
@ -162,6 +162,7 @@ Clicking on this button in the settings, clicking on the <a href="#badge">badge<
|
|||
<li><code>chatlist_invites_limit_*</code> - Maximum number of per-folder <a href="/api/links#chat-folder-links">chat folder deep links »</a> that can be created.</li>
|
||||
<li><code>chatlists_joined_limit_*</code> - Maximum number of <a href="/api/links#chat-folder-links">shareable folders</a> a user may have. </li>
|
||||
<li><code>recommended_channels_limit_*</code> - The maximum number of similar channels that can be recommended by <a href="/method/channels.getChannelRecommendations">channels.getChannelRecommendations»</a> to users.</li>
|
||||
<li><code>saved_dialogs_pinned_limit_*</code> - Maximum number of pinned dialogs in <a href="/api/saved-messages">saved messages</a>.</li>
|
||||
</ul>
|
||||
<h4><a class="anchor" href="#badge" id="badge" name="badge"><i class="anchor-icon"></i></a>Badge</h4>
|
||||
<p>Users with a Telegram Premium subscription (<a href="/constructor/user">user</a>.<code>premium</code> is set) should have a Telegram Premium badge next to their name. </p>
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
<tr>
|
||||
<td><strong>color</strong></td>
|
||||
<td style="text-align: center;"><a href="/mtproto/TL-combinators#conditional-fields">flags</a>.2?<a href="/type/int">int</a></td>
|
||||
<td><a href="/api/colors">ID of the accent color palette »</a> to use (not RGB24, see <a href="/api/colors">here »</a> for more info).</td>
|
||||
<td><a href="/api/colors">ID of the accent color palette »</a> to use (not RGB24, see <a href="/api/colors">here »</a> for more info); if not set, the default palette is used.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>background_emoji_id</strong></td>
|
||||
|
|
Loading…
Reference in a new issue