From 91292bf186027c02facbbe3c952dcef010783834 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 11 Apr 2023 20:09:59 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org.html | 2 + data/web/corefork.telegram.org/api.html | 2 + .../api/bots/buttons.html | 8 +- .../channelAdminLogEventsFilter.html | 2 +- .../method/messageActionTopicCreate.html | 118 ------------------ 5 files changed, 10 insertions(+), 122 deletions(-) delete mode 100644 data/web/corefork.telegram.org/method/messageActionTopicCreate.html diff --git a/data/web/corefork.telegram.org.html b/data/web/corefork.telegram.org.html index ef1e273a5e..23ef85899a 100644 --- a/data/web/corefork.telegram.org.html +++ b/data/web/corefork.telegram.org.html @@ -201,6 +201,8 @@ This allows the server to filter messages based on a text query, and even on the

How to work with chat notification sounds.

Message transcription

How to transcribe voice messages.

+

Message translation

+

Telegram allows translating chat messages, and Telegram Premium users may even enable real-time chat translation.

Web events

When interacting with HTML5 games and the websites of payment gateways, Telegram apps should expose the following JS APIs.

diff --git a/data/web/corefork.telegram.org/api.html b/data/web/corefork.telegram.org/api.html index ef1e273a5e..23ef85899a 100644 --- a/data/web/corefork.telegram.org/api.html +++ b/data/web/corefork.telegram.org/api.html @@ -201,6 +201,8 @@ This allows the server to filter messages based on a text query, and even on the

How to work with chat notification sounds.

Message transcription

How to transcribe voice messages.

+

Message translation

+

Telegram allows translating chat messages, and Telegram Premium users may even enable real-time chat translation.

Web events

When interacting with HTML5 games and the websites of payment gateways, Telegram apps should expose the following JS APIs.

diff --git a/data/web/corefork.telegram.org/api/bots/buttons.html b/data/web/corefork.telegram.org/api/bots/buttons.html index 719efccd32..89057f7113 100644 --- a/data/web/corefork.telegram.org/api/bots/buttons.html +++ b/data/web/corefork.telegram.org/api/bots/buttons.html @@ -87,8 +87,6 @@ This article describes the full button flow, using the MTProto API.

keyboardButtonRequestPeer#0d0b468c text:string button_id:int peer_type:RequestPeerType = KeyboardButton; -messages.sendBotRequestedPeer#fe38d01b peer:InputPeer msg_id:int button_id:int requested_peer:InputPeer = Updates; - messageActionRequestedPeer#fe77345d button_id:int peer:Peer = MessageAction; keyboardButton#a2fa4880 text:string = KeyboardButton; @@ -105,7 +103,11 @@ This article describes the full button flow, using the MTProto API.

// Used by bots to send a keyboardButtonUrlAuth inputKeyboardButtonUrlAuth#d02e7fd4 flags:# request_write_access:flags.0?true text:string fwd_text:flags.1?string url:string bot:InputUser = KeyboardButton; -keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton> = KeyboardButtonRow; +keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton> = KeyboardButtonRow; + +---functions--- + +messages.sendBotRequestedPeer#fe38d01b peer:InputPeer msg_id:int button_id:int requested_peer:InputPeer = Updates;

Both reply and inline keyboards are composed of a vector of rows, each row containing a vector of buttons, for each column.
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:

diff --git a/data/web/corefork.telegram.org/constructor/channelAdminLogEventsFilter.html b/data/web/corefork.telegram.org/constructor/channelAdminLogEventsFilter.html index 480de20827..f8a3c3e128 100644 --- a/data/web/corefork.telegram.org/constructor/channelAdminLogEventsFilter.html +++ b/data/web/corefork.telegram.org/constructor/channelAdminLogEventsFilter.html @@ -159,7 +159,7 @@ forums flags.17?true -Forum-related events +Forum-related events diff --git a/data/web/corefork.telegram.org/method/messageActionTopicCreate.html b/data/web/corefork.telegram.org/method/messageActionTopicCreate.html deleted file mode 100644 index 45855bd0c0..0000000000 --- a/data/web/corefork.telegram.org/method/messageActionTopicCreate.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - Page not found - - - - - - - - - - - - - - - - -
- -
-
-
- -

Page not found

- -
The page has not been saved
- -
- -
-
- -
- - - - - -