From 5446ba70e279e09f95d5c9e20cf0db33d36663f3 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 2 Sep 2022 13:59:55 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org/api/files.html | 2 +- data/web/corefork.telegram.org/api/links.html | 4 +- .../constructor/inputThemeSettings.html | 6 +- .../method/account.createTheme | 5 +- .../method/account.uploadTheme | 4 +- data/web/corefork.telegram.org/methods.html | 94 +++++++++---------- 6 files changed, 61 insertions(+), 54 deletions(-) diff --git a/data/web/corefork.telegram.org/api/files.html b/data/web/corefork.telegram.org/api/files.html index 18279499cf..8455222b89 100644 --- a/data/web/corefork.telegram.org/api/files.html +++ b/data/web/corefork.telegram.org/api/files.html @@ -394,7 +394,7 @@ It should be shown to the user in chat message previews, or while still download Sticker outlines will have a j type photoPathSize thumbnail.

This specific vector thumbnail consists of an SVG path, specially encoded to save space.
This path will be the outline of the animated sticker, and should be shown to the user while downloading the actual sticker.

-

As for stripped sizes, the payload should be inflated using the following algorithm:

+

The payload should be inflated using the following algorithm:

encoded := photoPathSize.bytes
 
 lookup := "AACAAAAHAAALMAAAQASTAVAAAZaacaaaahaaalmaaaqastava.az0123456789-,"
diff --git a/data/web/corefork.telegram.org/api/links.html b/data/web/corefork.telegram.org/api/links.html
index 9bb47e9bb1..011f0c63ed 100644
--- a/data/web/corefork.telegram.org/api/links.html
+++ b/data/web/corefork.telegram.org/api/links.html
@@ -1019,7 +1019,7 @@ tg://resolve?domain=<bot_username>&startattach=<start_parameter>
 t.me/<username>?attach=<bot_username>&startattach=<start_parameter>
 t.me/+<phone_number>?attach=<bot_username>
 t.me/+<phone_number>?attach=<bot_username>&startattach=<start_parameter>
-

tg: syntax (install+open in chat):

+

tg: syntax:

tg://resolve?domain=<username>&attach=<bot_username>
 tg://resolve?domain=<username>&attach=<bot_username>&startattach=<start_parameter>
 tg://resolve?phone=<phone_number>&attach=<bot_username>
@@ -1061,7 +1061,7 @@ tg://resolve?phone=<phone_number>&attach=<bot_username>&star
 

t.me syntax:

t.me/<bot_username>?startattach&choose=users+bots+groups+channels
 t.me/<bot_username>?startattach=<start_parameter>&choose=users+bots+groups+channels
-

tg: syntax (install):

+

tg: syntax:

tg://resolve?domain=<bot_username>&startattach&choose=users+bots+groups+channels
 tg://resolve?domain=<bot_username>&startattach=<start_parameter>&choose=users+bots+groups+channels

Parameters:

diff --git a/data/web/corefork.telegram.org/constructor/inputThemeSettings.html b/data/web/corefork.telegram.org/constructor/inputThemeSettings.html index 558aaa426c..f646fd418a 100644 --- a/data/web/corefork.telegram.org/constructor/inputThemeSettings.html +++ b/data/web/corefork.telegram.org/constructor/inputThemeSettings.html @@ -111,8 +111,12 @@

Type

InputThemeSettings

Related pages

+

inputWallPaper

+

Wallpaper

Wallpapers

-

Telegram apps support generating, sharing and synchronizing chat backgrounds.

+

Telegram apps support generating, sharing and synchronizing chat backgrounds.

+

inputWallPaperNoFile

+

Wallpaper with no file access hash, used for example when deleting (unsave=true) wallpapers using account.saveWallPaper, specifying just the wallpaper ID.

diff --git a/data/web/corefork.telegram.org/method/account.createTheme b/data/web/corefork.telegram.org/method/account.createTheme index e153f956a1..ccc4307b67 100644 --- a/data/web/corefork.telegram.org/method/account.createTheme +++ b/data/web/corefork.telegram.org/method/account.createTheme @@ -118,7 +118,10 @@ The specified theme title is invalid. - + +

Related pages

+

Deep links

+

Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.

diff --git a/data/web/corefork.telegram.org/method/account.uploadTheme b/data/web/corefork.telegram.org/method/account.uploadTheme index d96febe00c..7a74909adb 100644 --- a/data/web/corefork.telegram.org/method/account.uploadTheme +++ b/data/web/corefork.telegram.org/method/account.uploadTheme @@ -116,8 +116,8 @@

Related pages

-

Uploading and Downloading Files

-

How to transfer large data batches correctly.

+

Themes

+

Telegram apps support generating, sharing and synchronizing app themes.

diff --git a/data/web/corefork.telegram.org/methods.html b/data/web/corefork.telegram.org/methods.html index d0d919ba48..abbba14836 100644 --- a/data/web/corefork.telegram.org/methods.html +++ b/data/web/corefork.telegram.org/methods.html @@ -813,6 +813,53 @@ +

Working with cloud themes

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameDescription
account.updateThemeUpdate theme
account.uploadThemeUpload theme
account.getThemesGet installed themes
account.createThemeCreate a theme
account.installThemeInstall a theme
account.saveThemeSave a theme
account.getThemeGet theme information
account.getChatThemesGet all available chat themes
messages.setChatThemeChange the chat theme of a certain chat

Working with deep links

@@ -1283,53 +1330,6 @@
-

Working with cloud themes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameDescription
account.updateThemeUpdate theme
account.uploadThemeUpload theme
account.getThemesGet installed themes
account.createThemeCreate a theme
account.installThemeInstall a theme
account.saveThemeSave a theme
account.getThemeGet theme information
account.getChatThemesGet all available chat themes
messages.setChatThemeChange the chat theme of a certain chat

Working with contacts and top peers