From a9b2f6079558e821368d848ac66da113af3f4b02 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Thu, 18 Jan 2024 21:37:42 +0000 Subject: [PATCH] Update content of files --- .../web/corefork.telegram.org/api/config.html | 15 ++++- .../web/corefork.telegram.org/api/layers.html | 57 ++++++++++--------- .../corefork.telegram.org/api/premium.html | 1 + .../method/channels.updateColor.html | 2 +- 4 files changed, 44 insertions(+), 31 deletions(-) diff --git a/data/web/corefork.telegram.org/api/config.html b/data/web/corefork.telegram.org/api/config.html index 2d5618e40d..a5b095aa30 100644 --- a/data/web/corefork.telegram.org/api/config.html +++ b/data/web/corefork.telegram.org/api/config.html @@ -204,7 +204,7 @@ While help.getConfig 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 help.getConfig 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 }

Typical fields included in the resulting JSON object are:

emojies_animated_zoom

@@ -381,7 +384,9 @@ When fetching the admin list of a supergroup using chat_read_mark_size_threshold

Per-user read receipts, fetchable using messages.getMessageReadParticipants, will be available in groups with an amount of participants less or equal to chat_read_mark_size_threshold. (integer)

chat_read_mark_expire_period

-

To protect user privacy, read receipts are only stored for chat_read_mark_expire_period seconds after the message was sent. (integer)

+

To protect user privacy, read receipts for chats are only stored for chat_read_mark_expire_period seconds after the message was sent. (integer)

+

pm_read_date_expire_period

+

To protect user privacy, read receipts for private chats are only stored for pm_read_date_expire_period seconds after the message was sent. (integer)

groupcall_video_participants_max

Maximum number of participants in a group call (livestreams allow ∞ participants) (integer)

reactions_uniq_max

@@ -557,6 +562,10 @@ Note that the stickerset can be fetched using boost level », channels gain the ability to set a fill channel wallpaper, see here » for more info. (integer)

channel_custom_wallpaper_level_min

After reaching at least this boost level », channels gain the ability to set any custom wallpaper, not just fill channel wallpapers, see here » for more info. (integer)

+

saved_dialogs_pinned_limit_default

+

Maximum number of pinned dialogs in saved messages for non-Premium users. (integer)

+

saved_dialogs_pinned_limit_premium

+

Maximum number of pinned dialogs in saved messages for Premium users. (integer)

Suggestions

The API can return a set of useful suggestions for users of graphical clients.

Basic suggestions

diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html index aec982e7b4..ce159bfb07 100644 --- a/data/web/corefork.telegram.org/api/layers.html +++ b/data/web/corefork.telegram.org/api/layers.html @@ -46,6 +46,33 @@

Below you will find information on schema changes. For more details on the use of layers, see Invoking API methods.

Layer 170

+

To view all the changes since the last update, start reading the changelog @ Layer 159.

+

Most importantly, the following detailed articles were added:

+ +

Also added documentation for streamed uploads and improved the method queue documentation.

+

The RPC error database » was also updated.

+

The following new deep links were added:

+ +

This layer introduces the saved messages dialog list »!

Schema changes

New Methods