diff --git a/data/web/corefork.telegram.org/api/config.html b/data/web/corefork.telegram.org/api/config.html index 1d6e30efa1..37f28349c9 100644 --- a/data/web/corefork.telegram.org/api/config.html +++ b/data/web/corefork.telegram.org/api/config.html @@ -203,7 +203,6 @@ While help.getConfig returns MTProto-specif }, "chat_read_mark_expire_period": 604800, "chat_read_mark_size_threshold": 100, - "reactions_default": "\ud83d\udc4d", "reactions_uniq_max": 11, "ringtone_duration_max": 5, "ringtone_size_max": 307200, @@ -299,8 +298,6 @@ While help.getConfig returns MTProto-specif
To protect user privacy, read receipts are only stored for chat_read_mark_expire_period
seconds after the message was sent. (int)
groupcall_video_participants_max
Maximum number of participants in a group call (livestreams allow โ participants) (int)
-reactions_default
Default emoji reaction to use in the quick reaction menu, this value can be changed using messages.setDefaultReaction (string)
reactions_uniq_max
Maximum number of unique reaction-emojis 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)
ringtone_duration_max
Below you will find information on schema changes. For more details on the use of layers, see Invoking API methods.
Custom emoji statuses, custom emoji message reactions
Users can react to a message with one or more reactions using messages.sendReaction: 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.
In groups, messages.getMessageReactionsList can be used to fetch the reaction list, along with the sender of each reaction.
messages.getUnreadReactions is used to fetch messages with unread reactions.
Use messages.readReactions to mark all reactions as read in a certain chat.
Use messages.reportReaction to report a certain custom emoji reaction, specifying the peer
, the message id
and the user that sent the reaction (reaction_peer
).
reactionEmoji#1b2286b8 emoticon:string = Reaction;
@@ -111,18 +114,47 @@ The returned vector of availableReactio
messages.setChatAvailableReactions#feb16771 peer:InputPeer available_reactions:ChatReactions = Updates;
Chat and channel administrators can use messages.setChatAvailableReactions to restrict the set of reactions that can be used in a chat or channel, see here ยป for a list of possible configuration values.
The set ChatReactions constructor can then be fetched by users using messages.getFullChat, and will be contained in the available_reactions
field of the returned full info constructor.
reactionEmoji#1b2286b8 emoticon:string = Reaction;
+reactionCustomEmoji#8935fc73 document_id:long = Reaction;
+
+messages.reactionsNotModified#b06fdbdf = messages.Reactions;
+messages.reactions#eafdf716 hash:long reactions:Vector<Reaction> = messages.Reactions;
+
+updateRecentReactions#6f7863f4 = Update;
+
+---functions---
+
+messages.getRecentReactions#39461db2 limit:int hash:long = messages.Reactions;
+messages.clearRecentReactions#9dfeefb4 = Bool;
+
+messages.sendReaction#d30d78d4 flags:# big:flags.1?true add_to_recent:flags.2?true peer:InputPeer msg_id:int reaction:flags.0?Vector<Reaction> = Updates;
+Recently used reactions can be fetched using messages.getRecentReactions: the list can be cleared using messages.clearRecentReactions.
+Users will receive an updateRecentReactions update when the recent reaction list changes due to a call to messages.sendReaction with the add_to_recent
flag set: this updated should trigger a new call to messages.getRecentReactions to refresh the locally cached list.
reactionEmoji#1b2286b8 emoticon:string = Reaction;
+reactionCustomEmoji#8935fc73 document_id:long = Reaction;
+
+messages.reactionsNotModified#b06fdbdf = messages.Reactions;
+messages.reactions#eafdf716 hash:long reactions:Vector<Reaction> = messages.Reactions;
+
+---functions---
+
+messages.getTopReactions#bb8125ba limit:int hash:long = messages.Reactions;
+A list of featured emoji and custom emoji reactions can be fetched using messages.getTopReactions.
jsonString#b71e767a value:string = JSONValue;
-jsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue;
-jsonObject#99c1d49d value:Vector<JSONObjectValue> = JSONValue;
+reactionEmoji#1b2286b8 emoticon:string = Reaction;
+reactionCustomEmoji#8935fc73 document_id:long = Reaction;
+
+config#232566ac flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?true preload_featured_stickers:flags.4?true ignore_phone_entities:flags.5?true revoke_pm_inbox:flags.6?true blocked_mode:flags.8?true pfs_enabled:flags.13?true force_try_ipv6:flags.14?true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> dc_txt_domain_name:string chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int revoke_time_limit:int revoke_pm_time_limit:int rating_e_decay:int stickers_recent_limit:int stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?int pinned_dialogs_count_max:int pinned_infolder_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string autoupdate_url_prefix:flags.7?string gif_search_username:flags.9?string venue_search_username:flags.10?string img_search_username:flags.11?string static_maps_provider:flags.12?string caption_length_max:int message_length_max:int webfile_dc_id:int suggested_lang_code:flags.2?string lang_pack_version:flags.2?int base_lang_pack_version:flags.2?int reactions_default:flags.15?Reaction = Config;
---functions---
messages.setDefaultReaction#4f47a016 reaction:Reaction = Bool;
-help.getAppConfig#98914110 = JSONValue;
+help.getConfig#c4f9186b = Config;
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.
reactions_default
field.