From 0b1f3da199ea954d8306952cd536f56b31bfc6c9 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 14 Jan 2022 08:10:47 +0000 Subject: [PATCH] Update content of files --- data/core.telegram.org/api/drafts.html | 131 + .../constructor/inputPrivacyKeyForwards.html} | 25 +- .../constructor/messages.sentMessageLink} | 51 +- .../type/ChannelParticipant.html | 168 + .../type/messages.SentMessage} | 22 +- .../api/end-to-end/video-calls.html | 215 -- data/corefork.telegram.org/bots/inline.html | 181 - ...minLogEventActionParticipantToggleBan.html | 155 + .../mtproto/TL-formal.html | 319 -- .../mtproto/TL-polymorph.html | 170 - .../passport/sdk-ios-mac.html | 246 -- .../schema/mtproto-json.html | 1 - data/desktop.telegram.org/js/main.js | 685 ++++ data/promote.telegram.org/css/promote.css | 3156 ----------------- data/themes.telegram.org/css/themes.css | 2001 +++++++++++ data/tsf.telegram.org/auth.html | 241 -- data/tsf.telegram.org/js/billboard.min.js | 13 - 17 files changed, 3198 insertions(+), 4582 deletions(-) create mode 100644 data/core.telegram.org/api/drafts.html rename data/{corefork.telegram.org/constructor/decryptedMessageActionFlushHistory.html => core.telegram.org/constructor/inputPrivacyKeyForwards.html} (88%) rename data/{corefork.telegram.org/constructor/decryptedMessageActionScreenshotMessages.html => core.telegram.org/constructor/messages.sentMessageLink} (83%) create mode 100644 data/core.telegram.org/type/ChannelParticipant.html rename data/{corefork.telegram.org/type/DecryptedDataBlock.html => core.telegram.org/type/messages.SentMessage} (91%) delete mode 100644 data/corefork.telegram.org/api/end-to-end/video-calls.html delete mode 100644 data/corefork.telegram.org/bots/inline.html create mode 100644 data/corefork.telegram.org/constructor/channelAdminLogEventActionParticipantToggleBan.html delete mode 100644 data/corefork.telegram.org/mtproto/TL-formal.html delete mode 100644 data/corefork.telegram.org/mtproto/TL-polymorph.html delete mode 100644 data/corefork.telegram.org/passport/sdk-ios-mac.html delete mode 100644 data/corefork.telegram.org/schema/mtproto-json.html create mode 100644 data/desktop.telegram.org/js/main.js delete mode 100644 data/promote.telegram.org/css/promote.css create mode 100644 data/themes.telegram.org/css/themes.css delete mode 100644 data/tsf.telegram.org/auth.html delete mode 100644 data/tsf.telegram.org/js/billboard.min.js diff --git a/data/core.telegram.org/api/drafts.html b/data/core.telegram.org/api/drafts.html new file mode 100644 index 0000000000..b6ffd788e0 --- /dev/null +++ b/data/core.telegram.org/api/drafts.html @@ -0,0 +1,131 @@ + + + + + Message drafts + + + + + + + + + + + + + +
+ +
+
+
+ +

Message drafts

+ +
+ +

Message drafts in Telegram allow syncing the text typed into message fields between devices.

+

Drafts

+

Drafts are represented by the DraftMessage constructors. +The parameters of the peer-specific draft should be used as defaults when composing a message to be sent to a certain peer (in the case of media, the same draft should still be used as base, the message will become the caption). +If the user exits the app before sending the message, the message should be saved as a draft:

+

Saving drafts

+

Drafts can be saved using the messages.saveDraft method.

+

Downloading drafts

+

New drafts are automatically sent to all devices via updateDraftMessage updates.

+

Dialog objects fetched via the API also contain the draft associated with the dialog.

+

Clearing drafts

+

Drafts can be cleared by setting the clear_draft flag when sending messages or media using messages.sendMessage, messages.sendMedia, messages.sendMultiMedia, messages.sendInlineBotResult and similar or manually by passing empty values to messages.saveDraft.

+ +
+ +
+
+ +
+ + + + + + + + diff --git a/data/corefork.telegram.org/constructor/decryptedMessageActionFlushHistory.html b/data/core.telegram.org/constructor/inputPrivacyKeyForwards.html similarity index 88% rename from data/corefork.telegram.org/constructor/decryptedMessageActionFlushHistory.html rename to data/core.telegram.org/constructor/inputPrivacyKeyForwards.html index 1ca1086ed4..641c41488e 100644 --- a/data/corefork.telegram.org/constructor/decryptedMessageActionFlushHistory.html +++ b/data/core.telegram.org/constructor/inputPrivacyKeyForwards.html @@ -2,12 +2,12 @@ - decryptedMessageActionFlushHistory + inputPrivacyKeyForwards - - + + - + @@ -36,10 +36,10 @@
- -

decryptedMessageActionFlushHistory

+ +

inputPrivacyKeyForwards

-

The entire message history has been deleted.

+

Whether messages forwarded from this user will be anonymous

-
===8===
-decryptedMessageActionFlushHistory#6719e45c = DecryptedMessageAction;

+
inputPrivacyKeyForwards#a4dd4c08 = InputPrivacyKey;

Parameters

This constructor does not require any parameters.

Type

-

DecryptedMessageAction

+

InputPrivacyKey

@@ -96,9 +95,9 @@