diff --git a/data/web/corefork.telegram.org/api/bots/attach.html b/data/web/corefork.telegram.org/api/bots/attach.html index 84e7499749..0e7f99d8d6 100644 --- a/data/web/corefork.telegram.org/api/bots/attach.html +++ b/data/web/corefork.telegram.org/api/bots/attach.html @@ -77,12 +77,7 @@ messages.getAttachMenuBots#16fcc2cb hash:long = AttachMenuBots;
Bots that have the bot_attach_menu
flag set offer an attachment menu entry that can be added to the attachment menu.
Use messages.getAttachMenuBot to get info about the attachment menu entry of a given bot, specifically:
-short_name
contains the short name used for the attachment menu labelpeer_types
indicates the dialog types supported by the attachment menuicons
contains a list of platform-specific static icons and animations to use for the attachment menu button.Use messages.getAttachMenuBot to get info about the attachment menu entry of a given bot, see the attachMenuBot constructor page for more info ».
The installed attachment menu list can be fetched using messages.getAttachMenuBots.
Use messages.toggleBotInAttachMenu to enable or disable the attachment menu of a given bot.
Changes made using this method will trigger an updateAttachMenuBots update in other clients, which should trigger a messages.getAttachMenuBots call to fetch the full updated list of installed attachment menu entries.
diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html
index 2f33bee537..a40a897684 100644
--- a/data/web/corefork.telegram.org/api/layers.html
+++ b/data/web/corefork.telegram.org/api/layers.html
@@ -217,7 +217,7 @@ Also introducing new New Constructors
===144===
@@ -310,8 +310,8 @@ Also, discussion group admins can now New Constructors
- Added attachMenuPeerTypeSameBotPM - The bot attachment menu entry is available in the chat with the bot that offers it
-- Added attachMenuPeerTypeBotPM - The bot attachment menu entry is available in private chats with other bots
-- Added attachMenuPeerTypePM - The bot attachment menu entry is available in private chats with other users
+- Added attachMenuPeerTypeBotPM - The bot attachment menu entry is available in private chats with other bots (excluding the bot that offers the current attachment menu)
+- Added attachMenuPeerTypePM - The bot attachment menu entry is available in private chats with other users (not bots)
- Added attachMenuPeerTypeChat - The bot attachment menu entry is available in groups and supergroups
- Added attachMenuPeerTypeBroadcast - The bot attachment menu entry is available in channels
- Added chatInvitePublicJoinRequests - Used in updates and in the channel log to indicate when a user is requesting to join or has joined a discussion group
diff --git a/data/web/corefork.telegram.org/api/web-events.html b/data/web/corefork.telegram.org/api/web-events.html
index cd257bbd08..fadc4c2942 100644
--- a/data/web/corefork.telegram.org/api/web-events.html
+++ b/data/web/corefork.telegram.org/api/web-events.html
@@ -166,7 +166,7 @@ The web app must also be expanded when the user swipes up on the webview.
is_progress_visible
- Indicates whether the button should display a loading indicator (boolean, false by default)
Configures the main button, located immediately below the webview: when the user presses it a main_button_pressed
event should be emitted by the client.
-Note that if is_visible
is true, only when opening web apps from the attachment menu and only on clients with tab bars, the main button should be displayed only after the first user tap inside of the webview (to prevent bots from immediately blocking the media type tab bar).
+
Note that if is_visible
is true, only when opening web apps from the attachment menu and only on clients with media type tab bars, the main button should be displayed (replacing the tab bar) only after the first user tap inside of the webview (to prevent bots from immediately blocking the tab bar).
Otherwise, the main button can be displayed right away if is_visible
is true.
web_app_setup_back_button
Event data: a JSON object with an is_visible
boolean field.
diff --git a/data/web/corefork.telegram.org/constructor/attachMenuBot.html b/data/web/corefork.telegram.org/constructor/attachMenuBot.html
index dab73386af..017576ef7a 100644
--- a/data/web/corefork.telegram.org/constructor/attachMenuBot.html
+++ b/data/web/corefork.telegram.org/constructor/attachMenuBot.html
@@ -94,12 +94,12 @@
peer_types
Vector<AttachMenuPeerType>
-List of peer types where this attachment should be shown
+List of dialog types where this attachment menu entry should be shown
icons
Vector<AttachMenuBotIcon>
-Attachment menu icon
+List of platform-specific static icons and animations to use for the attachment menu button
diff --git a/data/web/corefork.telegram.org/constructor/attachMenuPeerTypeBotPM.html b/data/web/corefork.telegram.org/constructor/attachMenuPeerTypeBotPM.html
index 32411f77b5..6fc467fb14 100644
--- a/data/web/corefork.telegram.org/constructor/attachMenuPeerTypeBotPM.html
+++ b/data/web/corefork.telegram.org/constructor/attachMenuPeerTypeBotPM.html
@@ -4,10 +4,10 @@
attachMenuPeerTypeBotPM
-
+
-
+
diff --git a/data/web/corefork.telegram.org/constructor/attachMenuPeerTypePM.html b/data/web/corefork.telegram.org/constructor/attachMenuPeerTypePM.html
index 2009545a13..0947527fc3 100644
--- a/data/web/corefork.telegram.org/constructor/attachMenuPeerTypePM.html
+++ b/data/web/corefork.telegram.org/constructor/attachMenuPeerTypePM.html
@@ -4,10 +4,10 @@
attachMenuPeerTypePM
-
+
-
+
diff --git a/data/web/corefork.telegram.org/constructor/messageEntityCustomEmoji.html b/data/web/corefork.telegram.org/constructor/messageEntityCustomEmoji.html
index 8db23876e6..86cef25c2b 100644
--- a/data/web/corefork.telegram.org/constructor/messageEntityCustomEmoji.html
+++ b/data/web/corefork.telegram.org/constructor/messageEntityCustomEmoji.html
@@ -4,10 +4,10 @@
messageEntityCustomEmoji
-
+
-
+
@@ -93,7 +93,9 @@ Note that this entity must wrap exactly one regular emoji (the one contained in
Telegram allows including animated and static custom emojis inside of messages.
messages.getCustomEmojiDocuments
Fetch custom emoji stickers ».
-Returns a list of documents with the animated custom emoji in TGS format, and a documentAttributeCustomEmoji attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.
Returns a list of documents with the animated custom emoji in TGS format, and a documentAttributeCustomEmoji attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.
+Info about a custom emoji
diff --git a/data/web/corefork.telegram.org/method/messages.getCustomEmojiDocuments b/data/web/corefork.telegram.org/method/messages.getCustomEmojiDocuments index c9230b52c1..ed34ec3644 100644 --- a/data/web/corefork.telegram.org/method/messages.getCustomEmojiDocuments +++ b/data/web/corefork.telegram.org/method/messages.getCustomEmojiDocuments @@ -82,7 +82,8 @@Telegram allows including animated and static custom emojis inside of messages.
Represents a custom emoji
+Represents a custom emoji.
+Note that this entity must wrap exactly one regular emoji (the one contained in documentAttributeCustomEmoji.alt
) in the related text, otherwise the server will ignore it.
Document
Indicate to the server (from the user side) that the user is still using a web app.
+Indicate to the server (from the user side) that the user is still using a web app.
If the method returns a QUERY_ID_INVALID
error, the webview must be closed.
Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.
Indicate to the server (from the user side) that the user is still using a web app.
Indicate to the server (from the user side) that the user is still using a web app.
+If the method returns a QUERY_ID_INVALID
error, the webview must be closed.
Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.
The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.
diff --git a/data/web/corefork.telegram.org/methods.html b/data/web/corefork.telegram.org/methods.html index bddd7a29eb..df1ec7ee1a 100644 --- a/data/web/corefork.telegram.org/methods.html +++ b/data/web/corefork.telegram.org/methods.html @@ -1372,7 +1372,7 @@QUERY_ID_INVALID
error, the webview must be closed.QUERY_ID_INVALID
error, the webview must be closed.Data from the «$text» button was transferred to the bot.
alt
) in the related text, otherwise the server will ignore it.