diff --git a/data/web/corefork.telegram.org/api/config.html b/data/web/corefork.telegram.org/api/config.html index 9ce818d624..1d6e30efa1 100644 --- a/data/web/corefork.telegram.org/api/config.html +++ b/data/web/corefork.telegram.org/api/config.html @@ -236,17 +236,19 @@ While help.getConfig returns MTProto-specif "message_animated_emoji_max": 100, "premium_promo_order": [ "double_limits", + "animated_emoji", "more_upload", "faster_download", "voice_to_text", "no_ads", "unique_reactions", "premium_stickers", - "animated_emoji", "advanced_chat_management", "profile_badge", "animated_userpics", - "app_icons" + "app_icons", + "infinite_reactions", + "emoji_status" ], "premium_bot_username": "PremiumBot" } diff --git a/data/web/corefork.telegram.org/api/emoji-status.html b/data/web/corefork.telegram.org/api/emoji-status.html index af2d03ac4c..779fb40dce 100644 --- a/data/web/corefork.telegram.org/api/emoji-status.html +++ b/data/web/corefork.telegram.org/api/emoji-status.html @@ -45,6 +45,7 @@
Telegram allows users to set an emoticon or a custom emoji as status, to show next to their name in chats and profiles.
+emojiStatusEmpty#2de11aae = EmojiStatus;
emojiStatus#929b619d document_id:long = EmojiStatus;
emojiStatusUntil#fa30a8c7 document_id:long until:int = EmojiStatus;
@@ -52,19 +53,39 @@
user#5d99adee flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true fake:flags.26?true bot_attach_menu:flags.27?true premium:flags.28?true attach_menu_enabled:flags.29?true id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector<RestrictionReason> bot_inline_placeholder:flags.19?string lang_code:flags.22?string emoji_status:flags.30?EmojiStatus = User;
updateUserEmojiStatus#28373599 user_id:long emoji_status:EmojiStatus = Update;
+
updateRecentEmojiStatuses#30f443db = Update;
account.emojiStatusesNotModified#d08ce645 = account.EmojiStatuses;
account.emojiStatuses#90c467d1 hash:long statuses:Vector<EmojiStatus> = account.EmojiStatuses;
+---functions---
+
+account.updateEmojiStatus#fbd3de6b emoji_status:EmojiStatus = Bool;
+account.getRecentEmojiStatuses#0f578105 hash:long = account.EmojiStatuses;
+account.clearRecentEmojiStatuses#18201aae = Bool;
+Use account.updateEmojiStatus to change the status emoji of your profile.
+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.
+emojiStatus#929b619d document_id:long = EmojiStatus;
+
+account.emojiStatusesNotModified#d08ce645 = account.EmojiStatuses;
+account.emojiStatuses#90c467d1 hash:long statuses:Vector<EmojiStatus> = account.EmojiStatuses;
+
inputStickerSetEmojiDefaultStatuses#29d0f5ee = InputStickerSet;
---functions---
-account.updateEmojiStatus#fbd3de6b emoji_status:EmojiStatus = Bool;
-account.getDefaultEmojiStatuses#d6753386 hash:long = account.EmojiStatuses;
-account.getRecentEmojiStatuses#0f578105 hash:long = account.EmojiStatuses;
-account.clearRecentEmojiStatuses#18201aae = Bool;
A set of standard statuses can be fetched by passing inputStickerSetEmojiDefaultStatuses to messages.getStickerSet, as specified in the stickerset documentation ยป.
+account.getDefaultEmojiStatuses can also be used to get a list of featured emoji statuses, from multiple featured custom emoji stickersets.
diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html index 12e9ca2d2f..0129511721 100644 --- a/data/web/corefork.telegram.org/api/layers.html +++ b/data/web/corefork.telegram.org/api/layers.html @@ -46,6 +46,7 @@Below you will find information on schema changes. For more details on the use of layers, see Invoking API methods.
profile_badge
- Premium users have a badge next to their name, showing that they are helping support Telegram.animated_userpics
- Animated profile pictures of Premium users will play in-chat and when browsing the dialog list.app_icons
- Premium users can change the default icon of the Telegram app.infinite_reactions
- Premium users can use custom emojis when reacting to messages.emoji_status
- Premium users can set a status emoji.The help.premiumPromo constructor returned by help.getPremiumPromo also contains the following fields:
Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.
message#38116ee0 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true pinned:flags.24?true noforwards:flags.26?true id:int from_id:flags.8?Peer peer_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int forwards:flags.10?int replies:flags.23?MessageReplies edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long reactions:flags.20?MessageReactions restriction_reason:flags.22?Vector<RestrictionReason> ttl_period:flags.25?int = Message;
+reactionEmoji#1b2286b8 emoticon:string = Reaction;
+reactionCustomEmoji#8935fc73 document_id:long = Reaction;
+
+message#38116ee0 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true from_scheduled:flags.18?true legacy:flags.19?true edit_hide:flags.21?true pinned:flags.24?true noforwards:flags.26?true id:int from_id:flags.8?Peer peer_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int forwards:flags.10?int replies:flags.23?MessageReplies edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long reactions:flags.20?MessageReactions restriction_reason:flags.22?Vector<RestrictionReason> ttl_period:flags.25?int = Message;
updateMessageReactions#154798c3 peer:Peer msg_id:int reactions:MessageReactions = Update;
@@ -97,7 +100,14 @@ The returned vector of availableReactio
messages.setDefaultReaction can be used to change the default emoji reaction to use in the quick reaction menu.
This value is synced across devices and can be fetched using help.getAppConfig, reactions_default
field.
Change available reactions in group or channel
-channelAdminLogEventActionChangeAvailableReactions#be4e0ef8 prev_value:ChatReactions new_value:ChatReactions = ChannelAdminLogEventAction;
+reactionEmoji#1b2286b8 emoticon:string = Reaction;
+reactionCustomEmoji#8935fc73 document_id:long = Reaction;
+
+chatReactionsNone#eafc32bc = ChatReactions;
+chatReactionsAll#52928bca flags:# allow_custom:flags.0?true = ChatReactions;
+chatReactionsSome#661d4037 reactions:Vector<Reaction> = ChatReactions;
+
+channelAdminLogEventActionChangeAvailableReactions#be4e0ef8 prev_value:ChatReactions new_value:ChatReactions = ChannelAdminLogEventAction;
---functions---