diff --git a/data/web/corefork.telegram.org/api/reactions.html b/data/web/corefork.telegram.org/api/reactions.html index 8d18080e5e..3129b98a1c 100644 --- a/data/web/corefork.telegram.org/api/reactions.html +++ b/data/web/corefork.telegram.org/api/reactions.html @@ -97,9 +97,10 @@ Use messages.readReactions to mark ---functions--- messages.getAvailableReactions#18dea0ac hash:int = messages.AvailableReactions; -
messages.getAvailableReactions can be used to fetch a list of animations to play when reacting with a normal reactionEmoji (as opposed to a reactionCustomEmoji, where the animation can be fetched as described here »).
+
messages.getAvailableReactions can be used to fetch a list of animations to play when reacting with a normal reactionEmoji.
The returned vector of availableReaction constructors contains multiple fields with lottie animated stickers and simple images that should be positioned, displayed and played appropriately in the UI, as described in the constructor page ».
Users can also react using a normal emoji not listed here, in which case a random animated sticker should be played from the inputStickerSetEmojiGenericAnimations stickerset, fetched using messages.getStickerSet as described here ».
+Users can also react using custom emojis », in which case the appear_animation
and select_animation
are equal to the custom emoji itself that can be fetched as described here ».
+The effect_animation
must be equal to the effect_animation
of the associated normal emoji: if no effect animation is present for the normal emoji associated to a custom emoji, a random animated sticker should be played from the inputStickerSetEmojiGenericAnimations stickerset, fetched using messages.getStickerSet as described here ».
reactionEmoji#1b2286b8 emoticon:string = Reaction;
reactionCustomEmoji#8935fc73 document_id:long = Reaction;