From beade4ab48e9a72f904e8998749b040220557c03 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 4 Mar 2022 20:38:19 +0000 Subject: [PATCH] Update content of files --- data/corefork.telegram.org/api/reactions.html | 57 +++++++++++++------ ...ogEventActionChangeAvailableReactions.html | 11 ++-- .../constructor/channelFull.html | 8 ++- .../constructor/chatFull.html | 8 ++- .../constructor/chatInvite.html | 2 +- .../constructor/chatInviteImporter.html | 4 +- .../constructor/messagePeerReaction.html | 7 ++- .../constructor/messageReactions.html | 14 +++-- .../constructor/messages.availableReactions | 12 ++-- .../constructor/messages.messageReactionsList | 2 +- .../constructor/peerSettings.html | 4 +- .../updateBotChatInviteRequester.html | 4 +- .../constructor/updateMessageReactions.html | 11 ++-- .../updatePendingJoinRequests.html | 2 +- .../method/messages.getAvailableReactions | 10 ++-- .../method/messages.getChatInviteImporters | 4 +- .../method/messages.getMessagesReactions | 11 ++-- .../method/messages.hideAllChatJoinRequests | 6 +- .../method/messages.hideChatJoinRequest | 6 +- .../method/messages.readReactions | 11 ++-- .../method/messages.setChatAvailableReactions | 11 ++-- .../type/AvailableReaction.html | 2 +- .../type/ChannelAdminLogEventAction.html | 2 +- .../type/MessageReactionsList.html | 11 ++-- data/corefork.telegram.org/type/Update.html | 2 +- data/corefork.telegram.org/type/Updates.html | 8 +-- .../type/messages.AffectedHistory | 2 +- .../type/messages.AvailableReactions | 15 +++-- .../type/messages.MessageReactionsList | 2 +- 29 files changed, 154 insertions(+), 95 deletions(-) diff --git a/data/corefork.telegram.org/api/reactions.html b/data/corefork.telegram.org/api/reactions.html index 54402ad9ab..a057629a42 100644 --- a/data/corefork.telegram.org/api/reactions.html +++ b/data/corefork.telegram.org/api/reactions.html @@ -42,24 +42,18 @@

Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.

-

Schema:

+

React to a message

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;
 
+messageReactions#4f2b9479 flags:# min:flags.0?true can_see_list:flags.2?true results:Vector<ReactionCount> recent_reactions:flags.1?Vector<MessagePeerReaction> = MessageReactions;
+
 reactionCount#6fb250d1 flags:# chosen:flags.0?true reaction:string count:int = ReactionCount;
 
-messageReactions#4f2b9479 flags:# min:flags.0?true can_see_list:flags.2?true results:Vector<ReactionCount> recent_reactions:flags.1?Vector<MessagePeerReaction> = MessageReactions;
-messages.messageReactionsList#31bd492d flags:# count:int reactions:Vector<MessagePeerReaction> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = messages.MessageReactionsList;
 messagePeerReaction#51b67eff flags:# big:flags.0?true unread:flags.1?true peer_id:Peer reaction:string = MessagePeerReaction;
 
-availableReaction#c077ec01 flags:# inactive:flags.0?true reaction:string title:string static_icon:Document appear_animation:Document select_animation:Document activate_animation:Document effect_animation:Document around_animation:flags.1?Document center_icon:flags.1?Document = AvailableReaction;
-
-messages.availableReactionsNotModified#9f071957 = messages.AvailableReactions;
-messages.availableReactions#768e3aad hash:int reactions:Vector<AvailableReaction> = messages.AvailableReactions;
-messageEntitySpoiler#32ca960f offset:int length:int = MessageEntity;
-
-channelAdminLogEventActionChangeAvailableReactions#9cf7f76a prev_value:Vector<string> new_value:Vector<string> = ChannelAdminLogEventAction;
+messages.messageReactionsList#31bd492d flags:# count:int reactions:Vector<MessagePeerReaction> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = messages.MessageReactionsList;
 
 ---functions---
 
@@ -68,13 +62,44 @@
 messages.getMessageReactionsList#e0ee6b77 flags:# peer:InputPeer id:int reaction:flags.0?string offset:flags.1?string limit:int = messages.MessageReactionsList;
 
 messages.getUnreadReactions#e85bae1a peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
-messages.readReactions#82e251d7 peer:InputPeer = messages.AffectedHistory;
-
-messages.setChatAvailableReactions#14050ea6 peer:InputPeer available_reactions:Vector<string> = Updates;
-messages.getAvailableReactions#18dea0ac hash:int = messages.AvailableReactions;
-messages.setDefaultReaction#d960c4d4 reaction:string = Bool;
+messages.readReactions#82e251d7 peer:InputPeer = messages.AffectedHistory;

Users can react to a message using messages.sendReaction: the big flag can be optionally set to elicit a bigger reaction.
-In private chat

+Participants of the chat will receive an updateMessageReactions update.
+messages.getMessagesReactions can be used to fetch a full list of reactions for one or more messages.

+

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.

+

Set default reaction

+
jsonString#b71e767a value:string = JSONValue;
+jsonObjectValue#c0de1bd9 key:string value:JSONValue = JSONObjectValue;
+jsonObject#99c1d49d value:Vector<JSONObjectValue> = JSONValue;
+
+---functions---
+
+messages.setDefaultReaction#d960c4d4 reaction:string = Bool;
+
+help.getAppConfig#98914110 = JSONValue;
+

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.

+

Fetch globally available reactions

+
availableReaction#c077ec01 flags:# inactive:flags.0?true reaction:string title:string static_icon:Document appear_animation:Document select_animation:Document activate_animation:Document effect_animation:Document around_animation:flags.1?Document center_icon:flags.1?Document = AvailableReaction;
+
+messages.availableReactionsNotModified#9f071957 = messages.AvailableReactions;
+messages.availableReactions#768e3aad hash:int reactions:Vector<AvailableReaction> = messages.AvailableReactions;
+
+---functions---
+
+messages.getAvailableReactions#18dea0ac hash:int = messages.AvailableReactions;
+

messages.getAvailableReactions can be used to fetch the full list of reactions that can be used on Telegram.
+The returned vector of availableReaction 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 ».

+

Change available reactions in group or channel

+
channelAdminLogEventActionChangeAvailableReactions#9cf7f76a prev_value:Vector<string> new_value:Vector<string> = ChannelAdminLogEventAction;
+
+---functions---
+
+messages.setChatAvailableReactions#14050ea6 peer:InputPeer available_reactions:Vector<string> = Updates;
+

messages.getUnreadReactions can be used to

+

Chat and channel administrators can use messages.setChatAvailableReactions to restrict the set of reactions that can be used in the chat or channel.

diff --git a/data/corefork.telegram.org/constructor/channelAdminLogEventActionChangeAvailableReactions.html b/data/corefork.telegram.org/constructor/channelAdminLogEventActionChangeAvailableReactions.html index aafacf3776..df8b14381d 100644 --- a/data/corefork.telegram.org/constructor/channelAdminLogEventActionChangeAvailableReactions.html +++ b/data/corefork.telegram.org/constructor/channelAdminLogEventActionChangeAvailableReactions.html @@ -4,10 +4,10 @@ channelAdminLogEventActionChangeAvailableReactions - + - + @@ -39,7 +39,7 @@

channelAdminLogEventActionChangeAvailableReactions

-

The set of allowed message reactions for this channel has changed

+

The set of allowed message reactions » for this channel has changed

+

ChannelAdminLogEventAction

+

Related pages

+

Message reactions

+

Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.

diff --git a/data/corefork.telegram.org/constructor/channelFull.html b/data/corefork.telegram.org/constructor/channelFull.html index 397d4fbfcf..74df9085d6 100644 --- a/data/corefork.telegram.org/constructor/channelFull.html +++ b/data/corefork.telegram.org/constructor/channelFull.html @@ -266,7 +266,7 @@ requests_pending flags.28?int -Pending join requests » +Pending join requests » recent_requesters @@ -281,7 +281,7 @@ available_reactions flags.30?Vector<string> -Allowed message reactions +Allowed message reactions » @@ -309,7 +309,9 @@

phone.getGroupCallJoinAs

Get a list of peers that can be used to join a group call, presenting yourself as a specific user/channel.

Invites

-

Chats and channels may have a public username or a private invite link: private invite links may be further enhanced with per-user join requests.

+

Chats and channels may have a public username or a private invite link: private invite links may be further enhanced with per-user join requests.

+

Message reactions

+

Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.

diff --git a/data/corefork.telegram.org/constructor/chatFull.html b/data/corefork.telegram.org/constructor/chatFull.html index 0263042414..78ec2b1a6d 100644 --- a/data/corefork.telegram.org/constructor/chatFull.html +++ b/data/corefork.telegram.org/constructor/chatFull.html @@ -146,7 +146,7 @@ requests_pending flags.17?int -Pending join requests » +Pending join requests » recent_requesters @@ -156,7 +156,7 @@ available_reactions flags.18?Vector<string> -Allowed message reactions +Allowed message reactions » @@ -172,7 +172,9 @@

phone.getGroupCallJoinAs

Get a list of peers that can be used to join a group call, presenting yourself as a specific user/channel.

Invites

-

Chats and channels may have a public username or a private invite link: private invite links may be further enhanced with per-user join requests.

+

Chats and channels may have a public username or a private invite link: private invite links may be further enhanced with per-user join requests.

+

Message reactions

+

Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.

diff --git a/data/corefork.telegram.org/constructor/chatInvite.html b/data/corefork.telegram.org/constructor/chatInvite.html index b36f0bf4a4..cfd20d2ff2 100644 --- a/data/corefork.telegram.org/constructor/chatInvite.html +++ b/data/corefork.telegram.org/constructor/chatInvite.html @@ -91,7 +91,7 @@ request_needed flags.6?true -Whether the join request » must be first approved by an administrator +Whether the join request » must be first approved by an administrator title diff --git a/data/corefork.telegram.org/constructor/chatInviteImporter.html b/data/corefork.telegram.org/constructor/chatInviteImporter.html index e7c84f573c..909c151c9f 100644 --- a/data/corefork.telegram.org/constructor/chatInviteImporter.html +++ b/data/corefork.telegram.org/constructor/chatInviteImporter.html @@ -71,7 +71,7 @@ requested flags.0?true -Whether this user currently has a pending join request » +Whether this user currently has a pending join request » user_id @@ -91,7 +91,7 @@ approved_by flags.1?long -The administrator that approved the join request » of the user +The administrator that approved the join request » of the user diff --git a/data/corefork.telegram.org/constructor/messagePeerReaction.html b/data/corefork.telegram.org/constructor/messagePeerReaction.html index e82d1f0130..b1125b0f58 100644 --- a/data/corefork.telegram.org/constructor/messagePeerReaction.html +++ b/data/corefork.telegram.org/constructor/messagePeerReaction.html @@ -71,7 +71,7 @@ big flags.0?true -Whether the specified message reaction should elicit a bigger and longer reaction +Whether the specified message reaction » should elicit a bigger and longer reaction unread @@ -91,7 +91,10 @@

Type

-

MessagePeerReaction

+

MessagePeerReaction

+

Related pages

+

Message reactions

+

Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.

diff --git a/data/corefork.telegram.org/constructor/messageReactions.html b/data/corefork.telegram.org/constructor/messageReactions.html index 7ba2be0317..ad7d1fa79c 100644 --- a/data/corefork.telegram.org/constructor/messageReactions.html +++ b/data/corefork.telegram.org/constructor/messageReactions.html @@ -4,10 +4,10 @@ messageReactions - + - + @@ -39,7 +39,7 @@

messageReactions

-

Message reactions

+

Message reactions »

+

Get message reaction list, along with the sender of each reaction.

diff --git a/data/corefork.telegram.org/constructor/messages.availableReactions b/data/corefork.telegram.org/constructor/messages.availableReactions index 7c12f2379a..b2386beb72 100644 --- a/data/corefork.telegram.org/constructor/messages.availableReactions +++ b/data/corefork.telegram.org/constructor/messages.availableReactions @@ -4,10 +4,10 @@ messages.availableReactions - + - + @@ -39,7 +39,7 @@

messages.availableReactions

-

Animations and metadata associated with message reactions

+

Animations and metadata associated with message reactions »

+

How to fetch results from large lists of objects.

+

Message reactions

+

Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.

diff --git a/data/corefork.telegram.org/constructor/messages.messageReactionsList b/data/corefork.telegram.org/constructor/messages.messageReactionsList index 6212800a6e..bf1763d5f2 100644 --- a/data/corefork.telegram.org/constructor/messages.messageReactionsList +++ b/data/corefork.telegram.org/constructor/messages.messageReactionsList @@ -99,7 +99,7 @@

messages.MessageReactionsList

Related pages

messages.getMessageReactionsList

-

Get full message reaction list

+

Get message reaction list, along with the sender of each reaction.

diff --git a/data/corefork.telegram.org/constructor/peerSettings.html b/data/corefork.telegram.org/constructor/peerSettings.html index 9c88508b72..aef46d0b2f 100644 --- a/data/corefork.telegram.org/constructor/peerSettings.html +++ b/data/corefork.telegram.org/constructor/peerSettings.html @@ -111,7 +111,7 @@ request_chat_broadcast flags.10?true -This flag is set if request_chat_title and request_chat_date fields are set and the join request » is related to a channel (otherwise if only the request fields are set, the join request » is related to a chat). +This flag is set if request_chat_title and request_chat_date fields are set and the join request » is related to a channel (otherwise if only the request fields are set, the join request » is related to a chat). geo_distance @@ -126,7 +126,7 @@ request_chat_date flags.9?int -If set, this is a private chat with an administrator of a chat or channel to which the user sent a join request, and this field contains the timestamp when the join request » was sent. +If set, this is a private chat with an administrator of a chat or channel to which the user sent a join request, and this field contains the timestamp when the join request » was sent. diff --git a/data/corefork.telegram.org/constructor/updateBotChatInviteRequester.html b/data/corefork.telegram.org/constructor/updateBotChatInviteRequester.html index c99996d32b..a4db6686f2 100644 --- a/data/corefork.telegram.org/constructor/updateBotChatInviteRequester.html +++ b/data/corefork.telegram.org/constructor/updateBotChatInviteRequester.html @@ -71,7 +71,7 @@ date int -When was the join request » made +When was the join request » made user_id @@ -86,7 +86,7 @@ invite ExportedChatInvite -Chat invite link that was used by the user to send the join request » +Chat invite link that was used by the user to send the join request » qts diff --git a/data/corefork.telegram.org/constructor/updateMessageReactions.html b/data/corefork.telegram.org/constructor/updateMessageReactions.html index 91784d06bc..4a6829737e 100644 --- a/data/corefork.telegram.org/constructor/updateMessageReactions.html +++ b/data/corefork.telegram.org/constructor/updateMessageReactions.html @@ -4,10 +4,10 @@ updateMessageReactions - + - + @@ -39,7 +39,7 @@

updateMessageReactions

-

New message reactions are available

+

New message reactions » are available

+

Update

+

Related pages

+

Message reactions

+

Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.

diff --git a/data/corefork.telegram.org/constructor/updatePendingJoinRequests.html b/data/corefork.telegram.org/constructor/updatePendingJoinRequests.html index 412dc47864..06c56053c7 100644 --- a/data/corefork.telegram.org/constructor/updatePendingJoinRequests.html +++ b/data/corefork.telegram.org/constructor/updatePendingJoinRequests.html @@ -71,7 +71,7 @@ requests_pending int -Number of pending join requests » for the chat or channel +Number of pending join requests » for the chat or channel recent_requesters diff --git a/data/corefork.telegram.org/method/messages.getAvailableReactions b/data/corefork.telegram.org/method/messages.getAvailableReactions index 08a107f7bb..959ab962f4 100644 --- a/data/corefork.telegram.org/method/messages.getAvailableReactions +++ b/data/corefork.telegram.org/method/messages.getAvailableReactions @@ -4,10 +4,10 @@ messages.getAvailableReactions - + - + @@ -39,7 +39,7 @@

messages.getAvailableReactions

-

Obtain available message reactions

+

Obtain available message reactions »

+

How to fetch results from large lists of objects.

+

Message reactions

+

Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.

diff --git a/data/corefork.telegram.org/method/messages.getChatInviteImporters b/data/corefork.telegram.org/method/messages.getChatInviteImporters index 97890757a2..92678cf560 100644 --- a/data/corefork.telegram.org/method/messages.getChatInviteImporters +++ b/data/corefork.telegram.org/method/messages.getChatInviteImporters @@ -73,7 +73,7 @@ requested flags.0?true -If set, only returns info about users with pending join requests » +If set, only returns info about users with pending join requests » peer @@ -88,7 +88,7 @@ q flags.2?string -Search for a user in the pending join requests » list: only available when the requested flag is set, cannot be used together with a specific link. +Search for a user in the pending join requests » list: only available when the requested flag is set, cannot be used together with a specific link. offset_date diff --git a/data/corefork.telegram.org/method/messages.getMessagesReactions b/data/corefork.telegram.org/method/messages.getMessagesReactions index 21345899b6..451ebf6d9f 100644 --- a/data/corefork.telegram.org/method/messages.getMessagesReactions +++ b/data/corefork.telegram.org/method/messages.getMessagesReactions @@ -4,10 +4,10 @@ messages.getMessagesReactions - + - + @@ -39,7 +39,7 @@

messages.getMessagesReactions

-

Get message reactions

+

Get message reactions »

+

Bots can use this method

+

Related pages

+

Message reactions

+

Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.

diff --git a/data/corefork.telegram.org/method/messages.hideAllChatJoinRequests b/data/corefork.telegram.org/method/messages.hideAllChatJoinRequests index cbcc6645bd..63f53a9b38 100644 --- a/data/corefork.telegram.org/method/messages.hideAllChatJoinRequests +++ b/data/corefork.telegram.org/method/messages.hideAllChatJoinRequests @@ -39,7 +39,7 @@

messages.hideAllChatJoinRequests

-

Dismiss or approve all join requests related to a specific chat or channel.

+

Dismiss or approve all join requests related to a specific chat or channel.

diff --git a/data/corefork.telegram.org/type/Updates.html b/data/corefork.telegram.org/type/Updates.html index 88c77210b5..e4e36151bc 100644 --- a/data/corefork.telegram.org/type/Updates.html +++ b/data/corefork.telegram.org/type/Updates.html @@ -439,11 +439,11 @@ messages.hideChatJoinRequest -Dismiss or approve a chat join request » related to a specific chat or channel +Dismiss or approve a chat join request » related to a specific chat or channel messages.hideAllChatJoinRequests -Dismiss or approve all join requests » related to a specific chat or channel +Dismiss or approve all join requests » related to a specific chat or channel messages.toggleNoForwards @@ -455,11 +455,11 @@ messages.getMessagesReactions -Get message reactions +Get message reactions » messages.setChatAvailableReactions -Change the set of message reactions that can be used in a certain group, supergroup or channel +Change the set of message reactions » that can be used in a certain group, supergroup or channel
diff --git a/data/corefork.telegram.org/type/messages.AffectedHistory b/data/corefork.telegram.org/type/messages.AffectedHistory index df0107b9ab..5afd6979f6 100644 --- a/data/corefork.telegram.org/type/messages.AffectedHistory +++ b/data/corefork.telegram.org/type/messages.AffectedHistory @@ -104,7 +104,7 @@ messages.readReactions -Mark message reactions as read +Mark message reactions » as read
diff --git a/data/corefork.telegram.org/type/messages.AvailableReactions b/data/corefork.telegram.org/type/messages.AvailableReactions index 1b904ee8a5..d664ab235b 100644 --- a/data/corefork.telegram.org/type/messages.AvailableReactions +++ b/data/corefork.telegram.org/type/messages.AvailableReactions @@ -4,10 +4,10 @@ messages.AvailableReactions - + - + @@ -39,7 +39,7 @@

messages.AvailableReactions

-

Animations and metadata associated with message reactions

+

Animations and metadata associated with message reactions »

+ +

Related pages

+

Message reactions

+

Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.

diff --git a/data/corefork.telegram.org/type/messages.MessageReactionsList b/data/corefork.telegram.org/type/messages.MessageReactionsList index 6936bde0f4..e4bbaf06ed 100644 --- a/data/corefork.telegram.org/type/messages.MessageReactionsList +++ b/data/corefork.telegram.org/type/messages.MessageReactionsList @@ -83,7 +83,7 @@ messages.getMessageReactionsList -Get full message reaction list +Get full message reaction » list