diff --git a/data/web/corefork.telegram.org.html b/data/web/corefork.telegram.org.html index b27bc0505d..28d5126bdc 100644 --- a/data/web/corefork.telegram.org.html +++ b/data/web/corefork.telegram.org.html @@ -157,6 +157,8 @@ This allows the server to filter messages based on a text query, and even on the
Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.
Telegram allows adding spectacular animated effects to messages you send.
+Sticker, custom emoji and GIF selection UIs should offer a list of categories to quickly filter results by a (list of) emojis, or by some other criteria.
Telegram allows users to set an emoticon or a custom emoji as status, to show next to their name in chats and profiles.
How to work with Telegram Payments directly using the MTProto API.
How to create styled text with message entities
+Telegram clients support displaying GIFs.
Telegram clients support displaying animated, static and video stickers.
Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.
Telegram allows adding spectacular animated effects to messages you send.
+Sticker, custom emoji and GIF selection UIs should offer a list of categories to quickly filter results by a (list of) emojis, or by some other criteria.
Telegram allows users to set an emoticon or a custom emoji as status, to show next to their name in chats and profiles.
How to work with Telegram Payments directly using the MTProto API.
How to create styled text with message entities
+Telegram clients support displaying GIFs.
Telegram clients support displaying animated, static and video stickers.
bot
- The bot peerpeer
- The chat where the user made the querypeer
- The chat where the user made the query (or inputPeerEmpty for GIF searches and other queries to built-in bots specified in the config)geo_point
- The user's current geolocation, if the bot requires location-based inline results (the bot_inline_geo
flag of the bot's user constructor will be set)query
- What the user typed after the bot's usernameoffset
- If the user scrolls past the first len(results)
results, and next_offset
field is set, the inline query should be repeated with this offset.Telegram Business allows to configure the message and sticker of the profile introduction », shown to new users that don't have a private chat with us.
Use account.updateBusinessIntro to set a custom business introduction; invoke the same method without setting the intro
flag to remove the custom business introduction, defaulting to a randomly-chosen introduction message and sticker (see here » for more info on default profile introductions).
Changing the business introduction will emit an updateUser, and the business introduction will be contained in userFull.intro
.
Note that the greeting sticker selection UI should offer a list of categories to quickly filter results by a (list of) emojis, or by some other criteria, see here » for more info.
inputBusinessChatLink#11679fa7 flags:# message:string entities:flags.0?Vector<MessageEntity> title:flags.1?string = InputBusinessChatLink;
diff --git a/data/web/corefork.telegram.org/api/custom-emoji.html b/data/web/corefork.telegram.org/api/custom-emoji.html
index d185d6d505..e81caaf25d 100644
--- a/data/web/corefork.telegram.org/api/custom-emoji.html
+++ b/data/web/corefork.telegram.org/api/custom-emoji.html
@@ -63,20 +63,7 @@ If the documentAttributeCust
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 ».
Emoji categories
-messages.emojiGroupsNotModified#6fb4ad87 = messages.EmojiGroups;
-messages.emojiGroups#881fb94b hash:int groups:Vector<EmojiGroup> = messages.EmojiGroups;
-
-emojiGroup#7a9abda9 title:string icon_emoji_id:long emoticons:Vector<string> = EmojiGroup;
-
----functions---
-
-messages.getEmojiGroups#7488ce5b hash:int = messages.EmojiGroups;
-messages.getEmojiStatusGroups#2ecd56cd hash:int = messages.EmojiGroups;
-messages.getEmojiProfilePhotoGroups#21a548f3 hash:int = messages.EmojiGroups;
-messages.getEmojiGroups, messages.getEmojiStatusGroups and messages.getEmojiProfilePhotoGroups may be used to fetch a categorized list of UTF-8 emojis.
-Each category is described by a title
(i.e. "Animals", "Faces", "Flags"), is represented by a single custom emoji (icon_emoji_id
), and contains a list of UTF-8 emojis (emoticons
).
-These categories should be displayed in the custom emoji search bar, and when the user clicks on them, the client should display all custom emojis matching the emoticons
for that category.
-messages.getEmojiStatusGroups should be used when choosing a custom emoji to set as emoji status, messages.getEmojiProfilePhotoGroups when choosing a custom emoji to set as profile picture, messages.getEmojiGroups in all other cases when choosing a custom emoji.
+The custom emoji selection UI should offer a list of categories to quickly filter results by a (list of) emojis, or by some other criteria, see here » for more info.
Emoji keywords
emojiKeyword#d5b3b9f9 keyword:string emoticons:Vector<string> = EmojiKeyword;
emojiKeywordDeleted#236df622 keyword:string emoticons:Vector<string> = EmojiKeyword;
diff --git a/data/web/corefork.telegram.org/api/emoji-status.html b/data/web/corefork.telegram.org/api/emoji-status.html
index 5a8dad68ad..eeb5a99d13 100644
--- a/data/web/corefork.telegram.org/api/emoji-status.html
+++ b/data/web/corefork.telegram.org/api/emoji-status.html
@@ -73,6 +73,7 @@
The newly set EmojiStatus constructor will be contained in the emoji_status
field of the user constructor, and other users will receive an updateUserEmojiStatus.
Other logged-in clients will also receive an updateRecentEmojiStatuses update, indicating that the recent status emoji list has changed.
Recently used emoji statuses can be fetched using account.getRecentEmojiStatuses, and the list can be cleared using account.clearRecentEmojiStatuses.
+Note that the custom emoji selection UI should offer a list of categories to quickly filter results by a (list of) emojis, or by some other criteria, see here » for more info.
Setting an emoji status in channels and supergroups
emojiList#7a1e11d1 hash:long document_id:Vector<long> = EmojiList;
diff --git a/data/web/corefork.telegram.org/api/files.html b/data/web/corefork.telegram.org/api/files.html
index 5d65c28a3f..288543c10a 100644
--- a/data/web/corefork.telegram.org/api/files.html
+++ b/data/web/corefork.telegram.org/api/files.html
@@ -191,6 +191,7 @@ Use the inputChatPhoto to reuse previo
The profile picture should be rendered by placing the sticker at the center of a square canvas, in such a way that it occupies at most 67% of it. The background of the canvas is generated from background_colors
, which contains a vector of 1, 2, 3 or 4 RBG-24 colors used to generate a solid (1), gradient (2) or freeform gradient (3, 4) background, similar to how fill wallpapers are generated. The rotation angle for gradient backgrounds is 0.
If animated or video stickers/custom emojis are used, the video_start_ts
flag can contain a floating point UNIX timestamp in seconds, indicating the frame of the profile picture that should be used as static preview.
account.getDefaultProfilePhotoEmojis may be used to fetch a list of suggested custom emojis that can be used as profile pictures even by non-premium accounts; account.getDefaultGroupPhotoEmojis is the counterpart for group profile pictures.
+The custom emoji selection UI should offer a list of categories to quickly filter results by a (list of) emojis, or by some other criteria, see here » for more info.
Downloading files
There are methods available to download files which have been successfully uploaded. The schema of the types and methods used is presented below:
upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File;
diff --git a/data/web/corefork.telegram.org/api/stickers.html b/data/web/corefork.telegram.org/api/stickers.html
index c0805008c7..ddfef7f000 100644
--- a/data/web/corefork.telegram.org/api/stickers.html
+++ b/data/web/corefork.telegram.org/api/stickers.html
@@ -355,6 +355,8 @@ This update should trigger a call to custom emojis, the flag should only be set when manually choosing custom emojis from a single custom emoji stickerset (not multiple custom emoji stickersets).
Setting this flag will trigger an updateMoveStickerSetToTop update (instead of the usual updateStickerSetsOrder/updateStickerSets updates), indicating that the installed stickerset list was reordered and the specified stickerset was moved to the top.
Note that the API also offers a separate list of recent stickers (not stickersets), see here » for more info.
+Emoji categories
+The sticker selection UI should offer a list of categories to quickly filter results by a (list of) emojis, or by some other criteria, see here » for more info.
Sticker suggestions
messages.stickersNotModified#f1749a22 = messages.Stickers;
messages.stickers#30a6ec7e hash:long stickers:Vector<Document> = messages.Stickers;