diff --git a/data/web/corefork.telegram.org/api/bots/buttons.html b/data/web/corefork.telegram.org/api/bots/buttons.html index 32c960f7b8..eb1cdad220 100644 --- a/data/web/corefork.telegram.org/api/bots/buttons.html +++ b/data/web/corefork.telegram.org/api/bots/buttons.html @@ -77,7 +77,7 @@ This article describes the full button flow, using the MTProto API.
keyboardButton#a2fa4880 text:string = KeyboardButton; @@ -99,10 +99,10 @@ This article describes the full button flow, using the MTProto API. Each row can have a different number of columns, and user clients should properly handle clicking buttons of every type.
Buttons available only in reply keyboards:
-
- keyboardButton - Send a message to the chat, replying to the message that attached the reply keyboard
-- keyboardButtonRequestPhone - Only in private chats, send the current user's contact to the chat, replying to the message that attached the reply keyboard
-- keyboardButtonRequestGeoLocation - Only in private chats, send the current user's geolocation to the chat, replying to the message that attached the reply keyboard
-- keyboardButtonRequestPoll - Only in private chats, prompt the user to create and send a poll (or a quiz poll, depending on the
+quiz
flag), replying to the message that attached the reply keyboard- keyboardButton - Send a message to the chat, replying to the message that attached the reply keyboard
+- keyboardButtonRequestPhone - Only in private chats, send the current user's contact to the chat, replying to the message that attached the reply keyboard
+- keyboardButtonRequestGeoLocation - Only in private chats, send the current user's geolocation to the chat, replying to the message that attached the reply keyboard
+- keyboardButtonRequestPoll - Only in private chats, prompt the user to create and send a poll (or a quiz poll, depending on the
quiz
flag), replying to the message that attached the reply keyboardButtons available only in inline keyboards:
diff --git a/data/web/corefork.telegram.org/api/bots/webapps.html b/data/web/corefork.telegram.org/api/bots/webapps.html index 15f9fd4c91..e26eecc96f 100644 --- a/data/web/corefork.telegram.org/api/bots/webapps.html +++ b/data/web/corefork.telegram.org/api/bots/webapps.html @@ -54,16 +54,16 @@
-Here's the full list of events that can be received by a web app from the client, by calling the
receiveEvent
method.
phone_requested
Params: a JSON object containing an optional string
-phone_number
field.Sent in response to a web_app_request_phone outgoing event, see the docs for more info ».
+Sent in response to a web_app_request_phone outgoing event, see the docs for more info ».
main_button_pressed
Params:
-null
Sent by the client when the user presses the main button, if it was previously configured by a
+web_app_setup_main_button
event ».Sent by the client when the user presses the main button, if it was previously configured by a
web_app_setup_main_button
event ».
settings_button_pressed
Params:
null
Sent by the client when the user presses the settings button, if it was previously enabled in @BotFather, as specified by the
has_settings
flag of attachMenuBot ».
back_button_pressed
Params:
-null
Sent by the client when the user presses the back button, if it was previously enabled by a
+web_app_setup_back_button
event ».Sent by the client when the user presses the back button, if it was previously enabled by a
web_app_setup_back_button
event ».
invoice_closed
Params: JSON object with the following fields:
@@ -76,7 +76,7 @@
Sent by the client to report the payment status of an invoice obtained from a
+web_app_open_invoice
event ».Sent by the client to report the payment status of an invoice obtained from a
web_app_open_invoice
event ».
viewport_changed
Params: a JSON object with the following fields:
@@ -99,10 +99,10 @@
-Emitted when requested by the web app using a
+web_app_request_theme
event », or when the app theme changes.Emitted when requested by the web app using a
web_app_request_theme
event », or when the app theme changes.
popup_closed
Params: a JSON object with an optional
-button_id
string field.Emitted when the user presses a button or cancels a popup brought up by a previous
+web_app_open_popup
event ».Emitted when the user presses a button or cancels a popup brought up by a previous
web_app_open_popup
event ».Simple web apps
Schema:
replyKeyboardMarkup#85dd99d1 flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector<KeyboardButtonRow> placeholder:flags.3?string = ReplyMarkup; @@ -122,7 +122,7 @@
Simple webapps can only send back data to the bot through the MTProto API via a
web_app_data_send
JS event ».Simple webapps can only be opened from a keyboardButtonSimpleWebView button contained in a reply keyboard identified by a replyKeyboardMarkup constructor.
To open them, users should call messages.requestSimpleWebView, and then open a webview using the
-url
contained in the returned simpleWebViewResultUrl.Upon receiving a
+web_app_data_send
JS event » from the web app, clients should invoke messages.sendWebViewData, passing the following arguments:Upon receiving a
web_app_data_send
JS event » from the web app, clients should invoke messages.sendWebViewData, passing the following arguments:
bot
- Bot ID- @@ -160,7 +160,7 @@
random_id
- Unique random ID to avoid resending the same event multiple times- An attachment menu »
To open them, clients should call messages.requestWebView, and then open a webview using the
-url
contained in the returned webViewResultUrl.After loading the webview, until it is closed by a web_app_close event, the user client must invoke messages.prolongWebView every 60 seconds.
+After loading the webview, until it is closed by a web_app_close event, the user client must invoke messages.prolongWebView every 60 seconds.
The opened URL's fragment parameters already contain basic information about the user and a
diff --git a/data/web/corefork.telegram.org/api/config.html b/data/web/corefork.telegram.org/api/config.html index 64c0541e1a..06f40b0e0b 100644 --- a/data/web/corefork.telegram.org/api/config.html +++ b/data/web/corefork.telegram.org/api/config.html @@ -324,9 +324,9 @@ While help.getConfig returns MTProto-specifquery_id
parameter, that is exposed by the bot web apps JS library: thisquery_id
can then be used by the bot to invoke messages.sendWebViewResultMessage, passing an InputBotInlineResult constructor that will automatically send a message with optionally attached media, and even inline buttons on behalf of the user.
saved_gifs_limit_premium
The maximum number of GIFs a Premium user may save (integer)
-
stickers_faved_limit_default
The maximum number of stickers a non-Premium user may add to Favorites » (integer)
+The maximum number of stickers a non-Premium user may add to Favorites » (integer)
-
stickers_faved_limit_premium
The maximum number of stickers a Premium user may add to Favorites » (integer)
+The maximum number of stickers a Premium user may add to Favorites » (integer)
dialog_filters_limit_default
The maximum number of folders a non-Premium user may create (integer)
diff --git a/data/web/corefork.telegram.org/api/delete-account.html b/data/web/corefork.telegram.org/api/delete-account.html deleted file mode 100644 index 2eb3c8c869..0000000000 --- a/data/web/corefork.telegram.org/api/delete-account.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - -
dialog_filters_limit_premium
Page not found - - - - - - - - - - - - - - - - --- - - - - - diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html index dc3ab080d5..58cc1e4206 100644 --- a/data/web/corefork.telegram.org/api/layers.html +++ b/data/web/corefork.telegram.org/api/layers.html @@ -125,7 +125,7 @@ Also introducing new messageEntitySpoiler#32ca960f offset:int length:int = MessageEntity; messageEntityCustomEmoji#c8cf05f8 offset:int length:int document_id:long = MessageEntity; --- ----- --Page not found
- -The page has not been saved- -Layer 143
-Telegram Premium, voice message transcription, invoices, bot description photos/animations, immediate account deletion, recurring payments and attachment menu improvements.
+Telegram Premium, voice message transcription, invoices, bot description photos/animations, immediate account deletion, recurring payments and attachment menu improvements.
Also, discussion group admins can now require users to join before commenting.The main and E2E schemes were also modified to eventually support uploading and downloading files bigger than 4GB: the current supported maximum filesize is dynamically specified, and can be fetched from the new upload_max_fileparts_default » and upload_max_fileparts_premium » app configuration fields.
Schema changes
diff --git a/data/web/corefork.telegram.org/api/links.html b/data/web/corefork.telegram.org/api/links.html index 520f52288d..8b14fd0c33 100644 --- a/data/web/corefork.telegram.org/api/links.html +++ b/data/web/corefork.telegram.org/api/links.html @@ -58,7 +58,7 @@tg:path?query
- tg://path?query
The
+#fragment
part is always ignored when parsing links.The
#fragment
part is always ignored.Public username links
Used to link to public users, groups and channels, see here for more info on how to handle them ».
@@ -224,7 +224,7 @@ tg://resolve?domain=<username>&livestream=<invite_hash>
t.me
syntax:Stickerset links
-Used to import stickersets as described here ».
+Used to import stickersets as described here ».
t.me
syntax:t.me/addstickers/<slug>
@@ -242,12 +242,12 @@ tg://resolve?domain=<username>&livestream=<invite_hash>
tg:
syntax:slug
Required -Stickerset short name, used when installing stickers. +Stickerset short name, used when installing stickers. Custom emoji stickerset links
-Used to import custom emoji stickersets as described here ».
+Used to import custom emoji stickersets as described here ».
t.me
syntax:t.me/addemoji/<slug>
@@ -265,7 +265,7 @@ tg://resolve?domain=<username>&livestream=<invite_hash>
tg:
syntax:diff --git a/data/web/corefork.telegram.org/api/payments.html b/data/web/corefork.telegram.org/api/payments.html index ff5edcc23b..0a2f27bdf5 100644 --- a/data/web/corefork.telegram.org/api/payments.html +++ b/data/web/corefork.telegram.org/api/payments.html @@ -149,9 +149,9 @@ The slug
Required -Stickerset short name, used when installing stickers. +Stickerset short name, used when installing stickers. recurring
flag will be set for recurring payments, andre payments.validateRequestedInfo#b6c8f12b flags:# save:flags.0?true invoice:InputInvoice info:PaymentRequestedInfo = payments.ValidatedRequestedInfo;
If any data at all is requested by the invoice (name_requested
, phone_requested
, email_requested
, shipping_address_requested
), the user must call payments.validateRequestedInfo, providing the required data (as usual, msg_id
is the ID of the invoice message).
The user can choose to save order information for future use by setting the save
flag.
-Data can be autofilled as described in autofill.
If no errors are found in the submitted info, the response of the method will contain an id
flag, to be used later to complete the payment.
If the flexible
flag of the invoice is set, calling the payments.validateRequestedInfo method will send a shipping query update to the bot, to which the bot will reply with the available shipping options for the specified address as described here ».
+
If the flexible
flag of the invoice is set, calling the payments.validateRequestedInfo method will send a shipping query update to the bot, to which the bot will reply with the available shipping options for the specified address as described here ».
The return value in this case will also contain a shipping_options
field with the available shipping options.
If any errors are found in the submitted data, a service notification will be sent to the user, with a description of the error from the bot.
shipping_options
---functions---
messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector<ShippingOption> = Bool;
-If a shipping address was requested and the bot included the parameter flexible
, when the user validates order information the Telegram API will send an updateBotShippingQuery to the bot.
+
If a shipping address was requested and the bot included the parameter flexible
, when the user validates order information the Telegram API will send an updateBotShippingQuery to the bot.
The bot must respond using messages.setBotShippingResults either with a list of possible delivery options and the relevant delivery prices, or with an error (for example, if delivery to the specified address is not possible).
The returned shipping options or the shipping error will be returned to the user while validating order information.
+The returned shipping options or the shipping error will be returned to the user while validating order information.
inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials;
inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials;
@@ -267,16 +267,16 @@ Full credit card info is not saved on Telegram Servers, and can
---functions---
payments.sendPaymentForm#2d03522f flags:# form_id:long invoice:InputInvoice requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials tip_amount:flags.2?long = payments.PaymentResult;
-After verifying order information, the final step for the client is to call payments.sendPaymentForm, with the following parameters:
+After verifying order information, the final step for the client is to call payments.sendPaymentForm, with the following parameters:
msg_id
is set to the ID of the invoice messagerequested_info_id
is set to the id
of the verified order information, if it was requestedshipping_option_id
is set to the selected delivery option, if shipping was requested.requested_info_id
is set to the id
of the verified order information, if it was requestedshipping_option_id
is set to the selected delivery option, if shipping was requested.credentials
are the payment credentials generated by the payment provider, required to complete the order.Payment method info can also be saved to the Telegram Servers and reused, by setting the save
flag of inputPaymentCredentials when sending the form.
This is only possible on accounts with 2FA enabled.
The bot then replies to the received precheckout query, finally the user proceeds to checkout.
+The bot then replies to the received precheckout query, finally the user proceeds to checkout.
Please note that if the result of the method is a payments.paymentVerificationNeeded, before proceeding to checkout the payment provider requires the user to verify their identity by opening the provided url
and following instructions.
Once the user finishes working with the webpage, the client can proceed to checkout.
Eventual errors are returned in the form of RPC errors, with the description of the error by the bot contained in service updates.
diff --git a/data/web/corefork.telegram.org/api/premium.html b/data/web/corefork.telegram.org/api/premium.html index 0dd4b95a83..158128933b 100644 --- a/data/web/corefork.telegram.org/api/premium.html +++ b/data/web/corefork.telegram.org/api/premium.html @@ -105,7 +105,7 @@ The keys invideo_sections
correspond to a specific feature identif
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.stickers_faved_limit_*
- The maximum number of stickers a user may add to favorites.dialog_filters_limit_*
- The maximum number of folders a user may create.dialog_filters_chats_*
- The maximum number of chats a user may add to a folder.dialogs_pinned_limit_*
- The maximum number of chats a user may pin."label": "type"
): line
- line graph area
- area graph step
- step graph bar
- bar graph x
- x axis values for each of the charts at the corresponding positions, UNIX timestamps in milliseconds."label": "type"
): line
- line graph area
- area graph step
- step graph bar
- bar graph x
- x axis values for each of the charts at the corresponding positions, UNIX timestamps in milliseconds.If the stickers_emoji_suggest_only_api
app configuration parameter is set to true, clients must invoke messages.getStickers to fetch a list of suggested stickers for the emoji.
+
If the stickers_emoji_suggest_only_api
app configuration parameter is set to true, clients must invoke messages.getStickers to fetch a list of suggested stickers for the emoji.
The stickers_emoji_cache_time appConfig parameter specifies the validity period of the local cache of messages.getStickers, also relevant when generating the pagination hash when invoking the method.
Otherwise, the following local logic should be used.
messageReplies#83d60fc2 flags:# comments:flags.0?true replies:int replies_pts:int recent_repliers:flags.1?Vector<Peer> channel_id:flags.0?long max_id:flags.2?int read_max_id:flags.3?int = MessageReplies;
The same messageReplies constructor seen above will also be contained in channel posts, this time containing information about the comment section of a specific channel post.
-The comment section of a channel post is simply the message thread of the automatically forwarded channel message in the linked discussion supergroup; the ID of the linked discussion supergroup will be contained in the messageReplies.channel_id
field.
messageReplies.channel_id
field.
For channel posts, the recent_repliers
field will also contain information about the last few comment posters for a specific thread, to show a small list of commenter profile pictures in client previews.
messageFwdHeader#5f777dce flags:# imported:flags.7?true from_id:flags.0?Peer from_name:flags.5?string date:int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int psa_type:flags.6?string = MessageFwdHeader;
diff --git a/data/web/corefork.telegram.org/api/wallpapers.html b/data/web/corefork.telegram.org/api/wallpapers.html
index fc6f5d58a0..6e42dcf58b 100644
--- a/data/web/corefork.telegram.org/api/wallpapers.html
+++ b/data/web/corefork.telegram.org/api/wallpapers.html
@@ -88,7 +88,7 @@ The settings
field describes the transforms that should be applied
Solid fill
wallPaperSettings#1dc1bca4 flags:# blur:flags.1?true motion:flags.2?true background_color:flags.0?int second_background_color:flags.4?int third_background_color:flags.5?int fourth_background_color:flags.6?int intensity:flags.3?int rotation:flags.4?int = WallPaperSettings;
diff --git a/data/web/corefork.telegram.org/constructor/attachMenuBot.html b/data/web/corefork.telegram.org/constructor/attachMenuBot.html
index 45b4ab26d8..a5e6a862cf 100644
--- a/data/web/corefork.telegram.org/constructor/attachMenuBot.html
+++ b/data/web/corefork.telegram.org/constructor/attachMenuBot.html
@@ -79,7 +79,7 @@
has_settings
flags.1?true
-True, if the bot supports the "settings_button_pressed" event »
+True, if the bot supports the "settings_button_pressed" event »
bot_id
diff --git a/data/web/corefork.telegram.org/constructor/decryptedMessage.html b/data/web/corefork.telegram.org/constructor/decryptedMessage.html
index 6854cbad59..6043a5e2d2 100644
--- a/data/web/corefork.telegram.org/constructor/decryptedMessage.html
+++ b/data/web/corefork.telegram.org/constructor/decryptedMessage.html
@@ -99,7 +99,7 @@
ttl
int
-Message lifetime. Has higher priority than decryptedMessageActionSetMessageTTL.
Parameter added in Layer 17.
+Message lifetime. Has higher priority than decryptedMessageActionSetMessageTTL.
Parameter added in Layer 17.
message
@@ -139,8 +139,6 @@
decryptedMessageActionSetMessageTTL
Setting of a message lifetime after reading.
Upon receiving such message the client shall start deleting of all messages of an encrypted chat ttl_seconds seconds after the messages were read by user.
-Layers
-Below you will find information on schema changes. For more details on the use of layers, see Invoking API methods.
Styled text with message entities
How to create styled text with message entities
Uploading and Downloading Files
diff --git a/data/web/corefork.telegram.org/constructor/decryptedMessageActionNotifyLayer.html b/data/web/corefork.telegram.org/constructor/decryptedMessageActionNotifyLayer.html
index 37410f9fac..c2efd97b9b 100644
--- a/data/web/corefork.telegram.org/constructor/decryptedMessageActionNotifyLayer.html
+++ b/data/web/corefork.telegram.org/constructor/decryptedMessageActionNotifyLayer.html
@@ -70,15 +70,12 @@
layer
int
-Layer number, must be 17 or higher (this constructor was introduced in Layer 17).
+Layer number, must be 17 or higher (this constructor was introduced in Layer 17.
Type
-
-Related pages
-Layers
-Below you will find information on schema changes. For more details on the use of layers, see Invoking API methods.
+
diff --git a/data/web/corefork.telegram.org/constructor/decryptedMessageLayer.html b/data/web/corefork.telegram.org/constructor/decryptedMessageLayer.html
index fa34162290..924ad2eb33 100644
--- a/data/web/corefork.telegram.org/constructor/decryptedMessageLayer.html
+++ b/data/web/corefork.telegram.org/constructor/decryptedMessageLayer.html
@@ -70,7 +70,7 @@
random_bytes
bytes
-Set of random bytes to prevent content recognition in short encrypted messages.
Clients are required to check that there are at least 15 random bytes included in each message. Messages with less than 15 random bytes must be ignored.
Parameter moved here from decryptedMessage in Layer 17.
+Set of random bytes to prevent content recognition in short encrypted messages.
Clients are required to check that there are at least 15 random bytes included in each message. Messages with less than 15 random bytes must be ignored.
Parameter moved here from decryptedMessage in Layer 17.
layer
@@ -80,12 +80,12 @@
in_seq_no
int
-2x the number of messages in the sender's inbox (including deleted and service messages), incremented by 1 if current user was not the chat creator
Parameter added in Layer 17.
+2x the number of messages in the sender's inbox (including deleted and service messages), incremented by 1 if current user was not the chat creator
Parameter added in Layer 17.
out_seq_no
int
-2x the number of messages in the recipient's inbox (including deleted and service messages), incremented by 1 if current user was the chat creator
Parameter added in Layer 17.
+2x the number of messages in the recipient's inbox (including deleted and service messages), incremented by 1 if current user was the chat creator
Parameter added in Layer 17.
message
@@ -98,9 +98,7 @@
Related pages
decryptedMessage
-Contents of an encrypted message.
-Layers
-Below you will find information on schema changes. For more details on the use of layers, see Invoking API methods.
+Contents of an encrypted message.
diff --git a/data/web/corefork.telegram.org/constructor/decryptedMessageMediaAudio.html b/data/web/corefork.telegram.org/constructor/decryptedMessageMediaAudio.html
index cf906ee675..20774c957d 100644
--- a/data/web/corefork.telegram.org/constructor/decryptedMessageMediaAudio.html
+++ b/data/web/corefork.telegram.org/constructor/decryptedMessageMediaAudio.html
@@ -78,7 +78,7 @@
mime_type
string
-MIME-type of the audio file
Parameter added in Layer 13.
+MIME-type of the audio file
Parameter added in Layer 13.
size
@@ -98,10 +98,7 @@
Type
-
-Related pages
-Layers
-Below you will find information on schema changes. For more details on the use of layers, see Invoking API methods.
+
diff --git a/data/web/corefork.telegram.org/constructor/decryptedMessageMediaVideo.html b/data/web/corefork.telegram.org/constructor/decryptedMessageMediaVideo.html
index 3207fdc2ef..b1fa0cc39f 100644
--- a/data/web/corefork.telegram.org/constructor/decryptedMessageMediaVideo.html
+++ b/data/web/corefork.telegram.org/constructor/decryptedMessageMediaVideo.html
@@ -96,7 +96,7 @@
mime_type
string
-MIME-type of the video file
Parameter added in Layer 17.
+MIME-type of the video file
Parameter added in Layer 17.
w
@@ -131,10 +131,7 @@
Type
-
-Related pages
-Layers
-Below you will find information on schema changes. For more details on the use of layers, see Invoking API methods.
+
diff --git a/data/web/corefork.telegram.org/constructor/inputMediaInvoice.html b/data/web/corefork.telegram.org/constructor/inputMediaInvoice.html
index e65e43f25d..47f155e420 100644
--- a/data/web/corefork.telegram.org/constructor/inputMediaInvoice.html
+++ b/data/web/corefork.telegram.org/constructor/inputMediaInvoice.html
@@ -109,7 +109,7 @@
start_param
flags.1?string
-Unique bot deep links start parameter. If present, forwarded copies of the sent message will have a URL button with a deep link to the bot (instead of a Pay button), with the value used as the start parameter. If absent, forwarded copies of the sent message will have a Pay button, allowing multiple users to pay directly from the forwarded message, using the same invoice.
+Unique bot deep links start parameter. If present, forwarded copies of the sent message will have a URL button with a deep link to the bot (instead of a Pay button), with the value used as the start parameter. If absent, forwarded copies of the sent message will have a Pay button, allowing multiple users to pay directly from the forwarded message, using the same invoice.
diff --git a/data/web/corefork.telegram.org/constructor/payments.exportedInvoice b/data/web/corefork.telegram.org/constructor/payments.exportedInvoice
index 0651c32c34..1116bfb801 100644
--- a/data/web/corefork.telegram.org/constructor/payments.exportedInvoice
+++ b/data/web/corefork.telegram.org/constructor/payments.exportedInvoice
@@ -69,7 +69,7 @@
url
string
-Exported invoice deep link
+Exported invoice deep link
diff --git a/data/web/corefork.telegram.org/constructor/updateBotCommands.html b/data/web/corefork.telegram.org/constructor/updateBotCommands.html
index 10c8bc5fef..687a74cedf 100644
--- a/data/web/corefork.telegram.org/constructor/updateBotCommands.html
+++ b/data/web/corefork.telegram.org/constructor/updateBotCommands.html
@@ -42,7 +42,7 @@
updateBotCommands
- The command set of a certain bot in a certain chat has changed.
+ The command set of a certain bot in a certain chat has changed.
-
@@ -84,9 +84,7 @@
Type
-
-Related pages
-Telegram Bot API
+
diff --git a/data/web/corefork.telegram.org/constructor/updateUserTyping.html b/data/web/corefork.telegram.org/constructor/updateUserTyping.html
index 0e57a40cf3..21751692a7 100644
--- a/data/web/corefork.telegram.org/constructor/updateUserTyping.html
+++ b/data/web/corefork.telegram.org/constructor/updateUserTyping.html
@@ -4,10 +4,10 @@
updateUserTyping
-
+
-
+
@@ -74,15 +74,12 @@
action
SendMessageAction
-Action type
Param added in Layer 17.
+Action type
Type
-
-Related pages
-Layers
-Below you will find information on schema changes. For more details on the use of layers, see Invoking API methods.
+
diff --git a/data/web/corefork.telegram.org/constructor/wallPaper.html b/data/web/corefork.telegram.org/constructor/wallPaper.html
index c92a665428..e4cc0cd253 100644
--- a/data/web/corefork.telegram.org/constructor/wallPaper.html
+++ b/data/web/corefork.telegram.org/constructor/wallPaper.html
@@ -89,7 +89,7 @@
pattern
flags.3?true
-Whether this is a pattern wallpaper »
+Whether this is a pattern wallpaper »
dark
diff --git a/data/web/corefork.telegram.org/method/messages.sendWebViewData b/data/web/corefork.telegram.org/method/messages.sendWebViewData
index c3831e49a6..1a5d516701 100644
--- a/data/web/corefork.telegram.org/method/messages.sendWebViewData
+++ b/data/web/corefork.telegram.org/method/messages.sendWebViewData
@@ -92,7 +92,7 @@
data
string
-Data to relay to the bot, obtained from a web_app_data_send
JS event.
+Data to relay to the bot, obtained from a web_app_data_send
JS event.
diff --git a/data/web/corefork.telegram.org/method/phone.exportGroupCallInvite b/data/web/corefork.telegram.org/method/phone.exportGroupCallInvite
index 168a503378..829b85e6b0 100644
--- a/data/web/corefork.telegram.org/method/phone.exportGroupCallInvite
+++ b/data/web/corefork.telegram.org/method/phone.exportGroupCallInvite
@@ -42,7 +42,7 @@
phone.exportGroupCallInvite
- Get an invite link for a group call or livestream
+ Get an invite link for a group call or livestream
-
diff --git a/data/web/corefork.telegram.org/method/phone.joinGroupCall b/data/web/corefork.telegram.org/method/phone.joinGroupCall
index f30a19681d..344242ed27 100644
--- a/data/web/corefork.telegram.org/method/phone.joinGroupCall
+++ b/data/web/corefork.telegram.org/method/phone.joinGroupCall
@@ -102,7 +102,7 @@
invite_hash
flags.1?string
-The invitation hash from the invite link », if provided allows speaking in a livestream or muted group chat.
+The invitation hash from the invite link », if provided allows speaking in a livestream or muted group chat.
params
diff --git a/data/web/corefork.telegram.org/mtproto/mtproto-transports.html b/data/web/corefork.telegram.org/mtproto/mtproto-transports.html
index 2c1fde9c83..ddc3606cfe 100644
--- a/data/web/corefork.telegram.org/mtproto/mtproto-transports.html
+++ b/data/web/corefork.telegram.org/mtproto/mtproto-transports.html
@@ -111,7 +111,7 @@ Then, payloads are wrapped in the following envelope:
- Payload: the MTProto payload
Padded intermediate
-Padded version of the intermediate protocol, to use with obfuscation enabled to bypass ISP blocks.
+Padded version of the intermediate protocol, to use with obfuscation enabled to bypass ISP blocks.
- Overhead: small-medium
- Minimum envelope length: random
diff --git a/data/web/corefork.telegram.org/mtproto/samples-auth_key.html b/data/web/corefork.telegram.org/mtproto/samples-auth_key.html
index 7c6be594c3..cb201f2c9e 100644
--- a/data/web/corefork.telegram.org/mtproto/samples-auth_key.html
+++ b/data/web/corefork.telegram.org/mtproto/samples-auth_key.html
@@ -50,7 +50,7 @@ For example, for an abridged version of the transport the client…">
Detailed documentation on creating authorization keys is available here ».
1. Request for (p,q) Authorization
-
req_pq#60469778 nonce:int128 = ResPQ
+req_pq_multi#be7e8ef1 nonce:int128 = ResPQ;
@@ -80,10 +80,10 @@ For example, for an abridged version of the transport the client…">
Message body length
-%(req_pq)
+%(req_pq_multi)
20, 4
-60469778
-req_pq constructor number from TL schema
+be7e8ef1
+req_pq_multi constructor number from TL schema
nonce
@@ -95,7 +95,7 @@ For example, for an abridged version of the transport the client…">
The header is 20 bytes long, the message body is 20 bytes long, and the entire message is 40 bytes in length.
0000 | 00 00 00 00 00 00 00 00 4A 96 70 27 C4 7A E5 51
-0010 | 14 00 00 00 78 97 46 60 3E 05 49 82 8C CA 27 E9
+0010 | 14 00 00 00 f1 8e 7e be 3E 05 49 82 8C CA 27 E9
0020 | 66 B3 01 A4 8F EC E2 FC
2. A response from the server has been received with the following content:
0000 | 00 00 00 00 00 00 00 00 01 C8 83 1E C9 7A E5 51
@@ -312,7 +312,7 @@ RSA (data_with_hash, server_public_key) = 7BB0100A523161904D9C69FA04BC60DECFC5DD
encrypted_data
80, 260
See above
-See “Generation of encrypted_data"
+See “Generation of encrypted_data"
@@ -433,7 +433,7 @@ server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:s
encrypted_answer
56, 596
See below
-See “Decomposition of encrypted_answer"
+See “Decomposition of encrypted_answer"