diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html index df0b3c0270..9637cf5733 100644 --- a/data/web/corefork.telegram.org/api/layers.html +++ b/data/web/corefork.telegram.org/api/layers.html @@ -102,7 +102,7 @@
What follows is a list of appConfig integer config parameters.
Note that whenever config keys end with a *
in the following list, the *
should be replaced with premium
or default
, to fetch the appropriate limit value for Premium and non-Premium users.
reactions_user_max_*
- The maximum number of reactions that can be added to a single message by the user.channels_limit_*
- The maximum number of channels and supergroups a user may join.saved_gifs_limit_*
- The maximum number of GIFs a user may save.stickers_faved_limit_*
- The maximum number of stickers a user may add to favorites.An updateRecentStickers update will be emitted to the other logged-in sessions when modifying the recent stickerset list.
This update should trigger a call to messages.getRecentStickers.
updateMoveStickerSetToTop#86fccf85 flags:# masks:flags.0?true emojis:flags.1?true stickerset:long = Update;
+
+---functions---
+
+messages.sendMessage#d9d75a4 flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer = Updates;
+messages.sendMedia#e25ff8e0 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.10?int send_as:flags.13?InputPeer = Updates;
+messages.sendMultiMedia#f803138f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector<InputSingleMedia> schedule_date:flags.10?int send_as:flags.13?InputPeer = Updates;
+The update_stickersets_order
flag should be set when manually choosing and using stickers, masks and custom emojis from a specific stickerset in the stickerset selection bar (not through suggested or recent stickersets UI views).
+Note that for 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.
messages.stickersNotModified#f1749a22 = messages.Stickers;
messages.stickers#30a6ec7e hash:long stickers:Vector<Document> = messages.Stickers;
diff --git a/data/web/corefork.telegram.org/constructor/premiumSubscriptionOption.html b/data/web/corefork.telegram.org/constructor/premiumSubscriptionOption.html
index d0111f280b..fff52d8ffd 100644
--- a/data/web/corefork.telegram.org/constructor/premiumSubscriptionOption.html
+++ b/data/web/corefork.telegram.org/constructor/premiumSubscriptionOption.html
@@ -72,16 +72,6 @@
Flags, see TL conditional fields
-current
-flags.1?true
-
-
-
-can_purchase_upgrade
-flags.2?true
-
-
-
months
int
Duration of subscription in months
diff --git a/data/web/corefork.telegram.org/constructor/reactionCount.html b/data/web/corefork.telegram.org/constructor/reactionCount.html
index f47b2aa738..755325ce7f 100644
--- a/data/web/corefork.telegram.org/constructor/reactionCount.html
+++ b/data/web/corefork.telegram.org/constructor/reactionCount.html
@@ -74,7 +74,7 @@
chosen_order
flags.0?int
-
+If set, indicates that the current user also sent this reaction.
The integer value indicates when was the reaction added: the bigger the value, the newer the reaction.
reaction
diff --git a/data/web/corefork.telegram.org/constructor/updateMoveStickerSetToTop.html b/data/web/corefork.telegram.org/constructor/updateMoveStickerSetToTop.html
index 257ec21bbb..6d488a5834 100644
--- a/data/web/corefork.telegram.org/constructor/updateMoveStickerSetToTop.html
+++ b/data/web/corefork.telegram.org/constructor/updateMoveStickerSetToTop.html
@@ -4,36 +4,10 @@
updateMoveStickerSetToTop
-
+
-
+
@@ -68,7 +42,8 @@ stickerset…">
updateMoveStickerSetToTop
-
+ A stickerset was just moved to top, see here for more info »
+
-
Layer 145
@@ -99,22 +74,27 @@ stickerset…">
masks
flags.0?true
-
+This update is referring to a mask stickerset
emojis
flags.1?true
-
+This update is referring to a custom emoji stickerset
stickerset
long
-
+Stickerset ID
Type
-
+
+Related pages
+Stickers
+Telegram clients support displaying static and animated stickers.
+Custom emojis
+Telegram allows including animated and static custom emojis inside of messages.
diff --git a/data/web/corefork.telegram.org/method/messages.deleteHistory b/data/web/corefork.telegram.org/method/messages.deleteHistory
index 2029385a20..849531ac14 100644
--- a/data/web/corefork.telegram.org/method/messages.deleteHistory
+++ b/data/web/corefork.telegram.org/method/messages.deleteHistory
@@ -134,6 +134,11 @@
400
+CHAT_REVOKE_DATE_UNSUPPORTED
+min_date
and max_date
are not available for using with non-user peers.
+
+
+400
MAX_DATE_INVALID
The specified maximum date is invalid.
diff --git a/data/web/corefork.telegram.org/method/messages.sendMedia b/data/web/corefork.telegram.org/method/messages.sendMedia
index e7d7d3e43b..970e223695 100644
--- a/data/web/corefork.telegram.org/method/messages.sendMedia
+++ b/data/web/corefork.telegram.org/method/messages.sendMedia
@@ -102,7 +102,7 @@
update_stickersets_order
flags.15?true
-
+Whether to move used stickersets to top, see here for more info on this flag »
peer
@@ -497,6 +497,8 @@
Bots can use this method
Related pages
+Stickers
+Telegram clients support displaying static and animated stickers.
Styled text with message entities
How to create styled text with message entities
Scheduled messages
diff --git a/data/web/corefork.telegram.org/method/messages.sendMessage b/data/web/corefork.telegram.org/method/messages.sendMessage
index 63a88e28c7..21576ba5a4 100644
--- a/data/web/corefork.telegram.org/method/messages.sendMessage
+++ b/data/web/corefork.telegram.org/method/messages.sendMessage
@@ -107,7 +107,7 @@
update_stickersets_order
flags.15?true
-
+Whether to move used stickersets to top, see here for more info on this flag »
peer
@@ -362,6 +362,8 @@
Bots can use this method
Related pages
+Stickers
+Telegram clients support displaying static and animated stickers.
Styled text with message entities
How to create styled text with message entities
Scheduled messages
diff --git a/data/web/corefork.telegram.org/method/messages.sendMultiMedia b/data/web/corefork.telegram.org/method/messages.sendMultiMedia
index 069d955654..96f3ac9de2 100644
--- a/data/web/corefork.telegram.org/method/messages.sendMultiMedia
+++ b/data/web/corefork.telegram.org/method/messages.sendMultiMedia
@@ -102,7 +102,7 @@
update_stickersets_order
flags.15?true
-
+Whether to move used stickersets to top, see here for more info on this flag »
peer
@@ -229,6 +229,8 @@
Related pages
Message drafts
How to handle message drafts
+Stickers
+Telegram clients support displaying static and animated stickers.
Uploading and Downloading Files
How to transfer large data batches correctly.
Styled text with message entities
diff --git a/data/web/corefork.telegram.org/method/messages.setDefaultReaction b/data/web/corefork.telegram.org/method/messages.setDefaultReaction
index e742e340c7..625676a489 100644
--- a/data/web/corefork.telegram.org/method/messages.setDefaultReaction
+++ b/data/web/corefork.telegram.org/method/messages.setDefaultReaction
@@ -78,6 +78,23 @@
Result
+Possible errors
+
+
+
+Code
+Type
+Description
+
+
+
+
+400
+REACTION_INVALID
+The specified reaction is invalid.
+
+
+
Related pages
Client configuration
The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.
diff --git a/data/web/corefork.telegram.org/type/Update.html b/data/web/corefork.telegram.org/type/Update.html
index a7d589f0e8..9eb9fb7893 100644
--- a/data/web/corefork.telegram.org/type/Update.html
+++ b/data/web/corefork.telegram.org/type/Update.html
@@ -592,7 +592,7 @@
updateMoveStickerSetToTop
-
+A stickerset was just moved to top, see here for more info »
diff --git a/data/web/corefork.telegram.org/type/help.PremiumPromo b/data/web/corefork.telegram.org/type/help.PremiumPromo
index 645f616194..b4da6c2717 100644
--- a/data/web/corefork.telegram.org/type/help.PremiumPromo
+++ b/data/web/corefork.telegram.org/type/help.PremiumPromo
@@ -71,7 +71,7 @@
help.premiumPromo
-Telegram Premium promotion information
+Telegram Premium promotion information
Note that the video_sections
+videos
fields are a list of videos, and the corresponding premium feature identifiers.
They're equivalent to a section => video dictionary, with keys from video_section
and values from videos
.
The keys in video_sections
correspond to a specific feature identifier, and the associated promotional video should be shown when the associated feature row is clicked.