From c02f76d642e60920f8c2a7598cc0b8e9d108326b Mon Sep 17 00:00:00 2001
From: GitHub Action
Date: Sat, 10 Sep 2022 17:03:55 +0000
Subject: [PATCH] Update content of files
---
data/web/corefork.telegram.org/api/stickers.html | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/data/web/corefork.telegram.org/api/stickers.html b/data/web/corefork.telegram.org/api/stickers.html
index 813f8a6379..dc5c8b2ded 100644
--- a/data/web/corefork.telegram.org/api/stickers.html
+++ b/data/web/corefork.telegram.org/api/stickers.html
@@ -78,7 +78,7 @@
Static stickers are WebP images with the following specs:
- For stickers, either the width or height must be equal to 512 pixels.
-- For custom emojis, the resolution must be equal 100x100 pixels.
+- For custom emojis, the resolution must be equal to 100x100 pixels.
- Transparency is supported.
They're identified by mime_type
field of the associated document, always equal to image/webp
.
@@ -102,7 +102,7 @@
The video must be encoded using VP9, in a WebM container.
The WebM container must have no audio stream.
For stickers, either the width or height must be equal to 512 pixels.
-For custom emojis, the resolution must be equal 100x100 pixels.
+For custom emojis, the resolution must be equal to 100x100 pixels.
Maximum duration: 3 seconds.
Frame rate: up to 30 FPS.
Transparency is supported.
@@ -146,7 +146,7 @@
Otherwise, a messages.stickerSet will be returned, containing:
- A stickerSet constructor with info about the stickerset
-- A vector of document, containing all the stickers.
+
- A vector of document constructors, containing all the stickers.
Note that even if we provided an old hash
and just a few stickers were modified/reordered, all stickers will be returned anyway.
- A vector of stickerPack constructors, containing all the stickers IDs in the stickerpack, grouped by emoji.
The main emoji to use when previewing stickers in the chat list is present in the alt
field of the document.
@@ -323,8 +323,8 @@ This update should trigger a call to custom emojis when the user enters an emoji in the text bar.
-If the stickers_emoji_suggest_only_api
app configuration parameter is set to true, clients must invoke messages.getStickers to fetch a list of suggested stickers for the emoji.
-The stickers_emoji_cache_time
specifies the validity period of the local cache of messages.getStickers, also relevant when generating the pagination hash when invoking the method.
+If the stickers_emoji_suggest_only_api
app configuration parameter is set to true, clients must invoke messages.getStickers to fetch a list of suggested stickers for the emoji.
+The stickers_emoji_cache_time appConfig parameter specifies the validity period of the local cache of messages.getStickers, also relevant when generating the pagination hash when invoking the method.
Otherwise, the following local logic should be used.
- Construct two lists of recently used stickers, matching the emoji:
@@ -333,8 +333,8 @@ The stickers_emoji_cache_time
specifies the validity period of the
- The final suggested sticker list c is composed as follows:
-- If the user doesn't have a Premium subscription: all stickers from a, followed by
stickers_premium_by_emoji_num
stickers from b.
-- If the user has a Premium subscription:
stickers_normal_by_emoji_per_premium_num
stickers from a, followed by 1 sticker from b, and so on until both lists are empty.
+- If the user doesn't have a Premium subscription: all stickers from a, followed by
stickers_premium_by_emoji_num
stickers from b.
+- If the user has a Premium subscription:
stickers_normal_by_emoji_per_premium_num
stickers from a, followed by 1 sticker from b, and so on until both lists are empty.