diff --git a/data/web/corefork.telegram.org/api/config.html b/data/web/corefork.telegram.org/api/config.html index 37f28349c9..f2119c9c28 100644 --- a/data/web/corefork.telegram.org/api/config.html +++ b/data/web/corefork.telegram.org/api/config.html @@ -72,9 +72,9 @@ While help.getConfig returns MTProto-specif
Example value:
{
"test": 1,
- "emojies_animated_zoom": 0.625,
"keep_alive_service": true,
"background_connection": true,
+ "emojies_animated_zoom": 0.625,
"emojies_send_dice": [
"\ud83c\udfb2",
"\ud83c\udfaf",
@@ -114,47 +114,47 @@ While help.getConfig returns MTProto-specif
"\ud83c\udf83": {
"id": "4956223179606458539",
"access_hash": "-2107001400913062971",
- "file_reference_base64": "AGL6hV6eDoc2ebQskOpbgrzTmLp0"
+ "file_reference_base64": "AGM0SkhCJOQyONHIfiIuD7aXNqaf"
},
"\u26b0": {
"id": "4956223179606458540",
"access_hash": "-1498869544183595185",
- "file_reference_base64": "AGL6hV6ogj9k1yASNSBKwVV7vl4g"
+ "file_reference_base64": "AGM0SkhSLKMoTUx62wNyGLFKE06d"
},
"\ud83e\udddf\u200d\u2642": {
"id": "4960929110848176331",
"access_hash": "3986395821757915468",
- "file_reference_base64": "AGL6hV40Jb1xBs_pSyJKKUOZB6Qp"
+ "file_reference_base64": "AGM0SkhtVxKINzUR6ttAzSz8pUwd"
},
"\ud83e\udddf": {
"id": "4960929110848176332",
"access_hash": "-8929417974289765626",
- "file_reference_base64": "AGL6hV7D4Nslcn-v1fIuc_ND9YrF"
+ "file_reference_base64": "AGM0SkgOTtLDnzRZkgWWIGyg2aA-"
},
"\ud83e\udddf\u200d\u2640": {
"id": "4960929110848176333",
"access_hash": "9161696144162881753",
- "file_reference_base64": "AGL6hV7h6twxi0zgxF0aWUUypVLa"
+ "file_reference_base64": "AGM0SkherZ1mpGNRzJfvWXjN72lW"
},
"\ud83c\udf51": {
"id": "4963180910661861548",
"access_hash": "-7431729439735063448",
- "file_reference_base64": "AGL6hV7LHEomrcDDMRiTCl6iaomm"
+ "file_reference_base64": "AGM0SkhlsJwFjlmWXsbF-2LnbNIy"
},
"\ud83c\udf8a": {
"id": "5094064004578410732",
"access_hash": "8518192996098758509",
- "file_reference_base64": "AGL6hV7zlo6gnet6iEhvGDlZk8v4"
+ "file_reference_base64": "AGM0Ski69hX1npEUFDWq7WXTVGYT"
},
"\ud83c\udf84": {
"id": "5094064004578410733",
"access_hash": "-4142643820629256996",
- "file_reference_base64": "AGL6hV5w-pES-k304Ko8wawZnXHu"
+ "file_reference_base64": "AGM0SkjKqa-Jo-ZfGHKPgL33vd0G"
},
"\ud83e\uddbe": {
"id": "5094064004578410734",
"access_hash": "-8934384022571962340",
- "file_reference_base64": "AGL6hV45MFKTfB4kBAfUZWMezHfZ"
+ "file_reference_base64": "AGM0SkiwbPOkvb7O-onKtiSdLUel"
}
},
"gif_search_branding": "tenor",
@@ -173,8 +173,8 @@ While help.getConfig returns MTProto-specif
"stickers_emoji_suggest_only_api": false,
"stickers_emoji_cache_time": 86400,
"groupcall_video_participants_max": 1000,
- "qr_login_camera": true,
- "qr_login_code": "primary",
+ "qr_login_camera": false,
+ "qr_login_code": "disabled",
"dialog_filters_enabled": true,
"dialog_filters_tooltip": true,
"autoarchive_setting_available": false,
@@ -207,8 +207,6 @@ While help.getConfig returns MTProto-specif
"ringtone_duration_max": 5,
"ringtone_size_max": 307200,
"ringtone_saved_count_max": 100,
- "stickers_premium_by_emoji_num": 0,
- "stickers_normal_by_emoji_per_premium_num": 3,
"premium_purchase_blocked": false,
"channels_limit_default": 500,
"channels_limit_premium": 1000,
@@ -232,7 +230,13 @@ While help.getConfig returns MTProto-specif
"upload_max_fileparts_premium": 8000,
"about_length_limit_default": 70,
"about_length_limit_premium": 140,
+ "stickers_premium_by_emoji_num": 0,
+ "stickers_normal_by_emoji_per_premium_num": 3,
"message_animated_emoji_max": 100,
+ "reactions_user_max_default": 1,
+ "reactions_user_max_premium": 3,
+ "reactions_in_chat_max": 100,
+ "default_emoji_statuses_stickerset_id": "773947703670341676",
"premium_promo_order": [
"double_limits",
"animated_emoji",
@@ -240,13 +244,12 @@ While help.getConfig returns MTProto-specif
"faster_download",
"voice_to_text",
"no_ads",
- "unique_reactions",
+ "infinite_reactions",
"premium_stickers",
"advanced_chat_management",
"profile_badge",
"animated_userpics",
"app_icons",
- "infinite_reactions",
"emoji_status"
],
"premium_bot_username": "PremiumBot"
@@ -271,7 +274,7 @@ While help.getConfig returns MTProto-specif
stickers_emoji_suggest_only_api
Specifies that the app should not display local sticker suggestions ยป for emojis at all and just use the result of messages.getStickers (bool)
stickers_emoji_cache_time
-Specifies the validity period of the local cache of messages.getStickers, also relevant when generating the pagination hash when invoking the method. (int)
+Specifies the validity period of the local cache of messages.getStickers, also relevant when generating the pagination hash when invoking the method. (integer)
qr_login_camera
Whether the Settings->Devices menu should show an option to scan a QR login code (boolean)
qr_login_code
@@ -293,13 +296,22 @@ While help.getConfig returns MTProto-specif
round_video_encoding
Contains a set of recommended codec parameters for round videos.
chat_read_mark_size_threshold
-Per-user read receipts, fetchable using messages.getMessageReadParticipants, will be available in groups with an amount of participants less or equal to chat_read_mark_size_threshold
. (int)
+Per-user read receipts, fetchable using messages.getMessageReadParticipants, will be available in groups with an amount of participants less or equal to chat_read_mark_size_threshold
. (integer)
chat_read_mark_expire_period
-To protect user privacy, read receipts are only stored for chat_read_mark_expire_period
seconds after the message was sent. (int)
+To protect user privacy, read receipts are only stored for chat_read_mark_expire_period
seconds after the message was sent. (integer)
groupcall_video_participants_max
-Maximum number of participants in a group call (livestreams allow โ participants) (int)
+Maximum number of participants in a group call (livestreams allow โ participants) (integer)
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)
+Maximum number of unique reaction (non-custom) 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)
+reactions_in_chat_max
+Total number of reactions that should be shown under a message. (integer)
+reactions_user_max_default
+Maximum number of reactions that can be added to a single message by a non-Premium user. (integer)
+reactions_user_max_premium
+Maximum number of reactions that can be added to a single message by a Premium user. (integer)
+default_emoji_statuses_stickerset_id
+Default emoji status stickerset ID. (integer)
+Note that the stickerset can be fetched using inputStickerSetEmojiDefaultStatuses.
ringtone_duration_max
The maximum duration in seconds of uploadable notification sounds ยป (integer)
ringtone_size_max
diff --git a/data/web/corefork.telegram.org/api/reactions.html b/data/web/corefork.telegram.org/api/reactions.html
index e1ccb1b74f..c6f1e3909e 100644
--- a/data/web/corefork.telegram.org/api/reactions.html
+++ b/data/web/corefork.telegram.org/api/reactions.html
@@ -49,12 +49,12 @@
reactionEmoji#1b2286b8 emoticon:string = Reaction;
reactionCustomEmoji#8935fc73 document_id:long = Reaction;
-messageReactions#4f2b9479 flags:# min:flags.0?true can_see_list:flags.2?true results:Vector<ReactionCount> recent_reactions:flags.1?Vector<MessagePeerReaction> = MessageReactions;
-
reactionCount#a3d1cb80 flags:# chosen_order:flags.0?int reaction:Reaction count:int = ReactionCount;
messagePeerReaction#b156fe9c flags:# big:flags.0?true unread:flags.1?true peer_id:Peer reaction:Reaction = MessagePeerReaction;
+messageReactions#4f2b9479 flags:# min:flags.0?true can_see_list:flags.2?true results:Vector<ReactionCount> recent_reactions:flags.1?Vector<MessagePeerReaction> = MessageReactions;
+
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;
@@ -71,7 +71,10 @@
messages.readReactions#82e251d7 peer:InputPeer = messages.AffectedHistory;
messages.reportReaction#3f64c076 peer:InputPeer id:int reaction_peer:InputPeer = Bool;
-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.
+
Users can react to a message with one or more reactions using messages.sendReaction.
+After sending the reaction, the chosen_order
field of reactionCount will be set for the reaction, the integer value indicates when was the reaction added: the bigger the value, the newer the reaction: use this value to appropriately sort the messages.sendReaction:reaction
vector when adding new reactions.
+Reactions should be sent in ascending order (new reactions at the end in the messages.sendReaction:reaction
vector), and when adding more reactions to the same message, older reactions should be removed to keep the total number of sent/modified reactions within by the reactions_user_max_default/reactions_user_max_premium reactions.
+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.
messages.getMessagesReactions can be used to fetch a full list of reactions for one or more messages.
diff --git a/data/web/corefork.telegram.org/method/account.sendVerifyEmailCode b/data/web/corefork.telegram.org/method/account.sendVerifyEmailCode
index 7074a94b6e..8ebe76e938 100644
--- a/data/web/corefork.telegram.org/method/account.sendVerifyEmailCode
+++ b/data/web/corefork.telegram.org/method/account.sendVerifyEmailCode
@@ -97,6 +97,16 @@
EMAIL_INVALID
The specified email is invalid.
+
+400
+PHONE_HASH_EXPIRED
+An invalid or expired phone_code_hash
was provided.
+
+
+400
+PHONE_NUMBER_INVALID
+The phone number is invalid.
+
diff --git a/data/web/corefork.telegram.org/method/messages.exportChatInvite b/data/web/corefork.telegram.org/method/messages.exportChatInvite
index a41d955100..620ffa46b8 100644
--- a/data/web/corefork.telegram.org/method/messages.exportChatInvite
+++ b/data/web/corefork.telegram.org/method/messages.exportChatInvite
@@ -120,6 +120,11 @@
400
+CHANNEL_INVALID
+The provided channel is invalid.
+
+
+400
CHANNEL_PRIVATE
You haven't joined this channel/supergroup.