From c172b7c5e84db704d4ba0791e5189e6968a38578 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sat, 10 Sep 2022 16:32:12 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org/api/config.html | 2 +- data/web/corefork.telegram.org/api/custom-emoji.html | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/data/web/corefork.telegram.org/api/config.html b/data/web/corefork.telegram.org/api/config.html index 7d89a15be3..64c0541e1a 100644 --- a/data/web/corefork.telegram.org/api/config.html +++ b/data/web/corefork.telegram.org/api/config.html @@ -308,7 +308,7 @@ While help.getConfig returns MTProto-specif

ringtone_saved_count_max

The maximum number of saveable notification sounds »

message_animated_emoji_max

-

Maximum number of custom animated emojis that may be present in a message. (integer)

+

The maximum number of custom emojis that may be present in a message. (integer)

stickers_premium_by_emoji_num

Defines how many Premium stickers to show in the sticker suggestion popup when entering an emoji into the text field, see the sticker docs for more info (integer, defaults to 0)

stickers_normal_by_emoji_per_premium_num

diff --git a/data/web/corefork.telegram.org/api/custom-emoji.html b/data/web/corefork.telegram.org/api/custom-emoji.html index 42d65f626a..ff20f59b23 100644 --- a/data/web/corefork.telegram.org/api/custom-emoji.html +++ b/data/web/corefork.telegram.org/api/custom-emoji.html @@ -55,8 +55,10 @@ messages.getCustomEmojiDocuments#d9ab0f54 document_id:Vector<long> = Vector<Document>;

Custom emojis are a special kind of entity », containing just a document_id, which can be passed to messages.getCustomEmojiDocuments to fetch the static, animated or video sticker emoji that should be displayed to the user as described in the stickers documentation.

-

Sticker documents will contain documentAttributeCustomEmoji attribute instead of a documentAttributeSticker, containing information on the associated emoji, whether the emoji can be used by non-premium users (free) and the associated stickerset.

-

Like stickers, custom emojis are organized in stickersets: see the stickers documentation » for more info on how to work with them.

+

Custom emoji documents will contain documentAttributeCustomEmoji attribute instead of a documentAttributeSticker, containing information on the associated emoji, whether the emoji can be used by non-premium users (free) and the associated stickerset.

+

Like stickers, custom emojis are organized in stickersets: see the stickers documentation » for more info on how to work with them.

+

To send a message with one or more custom emojis, create and attach messageEntityCustomEmoji entities » to a message.
+Note that you can attach a maximum of message_animated_emoji_max custom emojis, as specified by the appConfig field ».