From 602edcfb8e0c878ac62bc53422072e4de1e4d314 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 28 Sep 2022 20:28:50 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org/api/config.html | 2 +- data/web/corefork.telegram.org/api/reactions.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/web/corefork.telegram.org/api/config.html b/data/web/corefork.telegram.org/api/config.html index 06b7415866..34be536bf1 100644 --- a/data/web/corefork.telegram.org/api/config.html +++ b/data/web/corefork.telegram.org/api/config.html @@ -302,7 +302,7 @@ While help.getConfig returns MTProto-specif

groupcall_video_participants_max

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

reactions_uniq_max

-

Maximum number of unique reactions for any given message: for example, if there are 2000 👍 and 1000 😁 reactions and reactions_uniq_max = 2, you can't add a 👎 reaction, because that would raise the number of unique reaction-emojis to 3 > 2. (integer)

+

Maximum number of unique reactions for any given message: for example, if there are 2000 👍 and 1000 custom emoji 😁 reactions and reactions_uniq_max = 2, you can't add a 👎 reaction, because that would raise the number of unique reaction-emojis to 3 > 2. (integer)

reactions_in_chat_max

(integer)

reactions_user_max_default

diff --git a/data/web/corefork.telegram.org/api/reactions.html b/data/web/corefork.telegram.org/api/reactions.html index 5e944d1a72..59c606863d 100644 --- a/data/web/corefork.telegram.org/api/reactions.html +++ b/data/web/corefork.telegram.org/api/reactions.html @@ -74,7 +74,7 @@

Users can react to a message with one or more reactions using messages.sendReaction.
After sending the reaction, the chosen_order field of reactionCount will be set for the reaction. The integer value indicates when was the reaction added: the bigger the value, the newer the reaction, use this value to appropriately sort the messages.sendReaction:reaction vector when adding new reactions.
Reactions should be sent in ascending order (new reactions at the end in the messages.sendReaction:reaction vector), and when adding more reactions to the same message, older reactions should be removed to keep the total number of sent/modified reactions within reactions_user_max_default/reactions_user_max_premium reactions.
-The reactions_uniq_max configuration field also indicates the maximum number of reactions that can be added to a message.

+The reactions_uniq_max configuration field also indicates the maximum number of unique reactions that can be added to a message: for example, if there are 2000 👍 and 1000 custom emoji 😁 reactions and reactions_uniq_max = 2, you can't add a 👎 reaction, because that would raise the number of unique reaction-emojis to 3 > 2.

The big flag can be optionally set to elicit a bigger reaction.
Send a reactionEmoji to react using a normal emoji, and a reactionCustomEmoji to react using a custom emoji.
Message authors will receive an updateMessageReactions update when a user reacts to their message.