diff --git a/data/web/corefork.telegram.org/api/wallpapers.html b/data/web/corefork.telegram.org/api/wallpapers.html index 8fa63c9d84..fc299f244b 100644 --- a/data/web/corefork.telegram.org/api/wallpapers.html +++ b/data/web/corefork.telegram.org/api/wallpapers.html @@ -48,6 +48,23 @@ Wallpapers must be rendered according to the instructions…">
Telegram apps support generating and setting chat backgrounds.
Wallpapers must be rendered according to the instructions contained in the wallpaper constructors.
+inputWallPaper#e630b979 id:long access_hash:long = InputWallPaper;
+inputWallPaperSlug#72091c80 slug:string = InputWallPaper;
+inputWallPaperNoFile#967a462e id:long = InputWallPaper;
+
+account.wallPapersNotModified#1c199183 = account.WallPapers;
+account.wallPapers#cdc3858c hash:long wallpapers:Vector<WallPaper> = account.WallPapers;
+
+---functions---
+
+account.getMultiWallPapers#65ad71dc wallpapers:Vector<InputWallPaper> = Vector<WallPaper>;
+account.getWallPapers#7967d36 hash:long = account.WallPapers;
+account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper;
+account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper;
+account.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool;
+account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool;
+account.resetWallPapers#bb3b9804 = Bool;
There are three main wallpaper types:
settings
field describes the transforms that should be applied
settings.motion
: The combined background needs to be slightly moved when device is tilted, allowing for a parallax effect.settings.motion
: The background needs to be slightly moved when device is tilted, allowing for a parallax effect.wallPaperNoFile#e0804116 id:long flags:# default:flags.1?true dark:flags.4?true settings:flags.2?WallPaperSettings = WallPaper;
diff --git a/data/web/corefork.telegram.org/methods.html b/data/web/corefork.telegram.org/methods.html
index 6cb762caa7..a2501fee9e 100644
--- a/data/web/corefork.telegram.org/methods.html
+++ b/data/web/corefork.telegram.org/methods.html
@@ -1094,6 +1094,45 @@
+Name | +Description | +
---|---|
account.getMultiWallPapers | +Get info about multiple wallpapers | +
account.getWallPaper | +Get info about a certain wallpaper | +
account.getWallPapers | +Returns a list of available wallpapers. | +
account.installWallPaper | +Install wallpaper | +
account.resetWallPapers | +Delete all installed wallpapers, reverting to the default wallpaper set. | +
account.saveWallPaper | +Install/uninstall wallpaper | +
account.uploadWallPaper | +Create and upload a new wallpaper | +
Rate transcribed voice message | -
Name | -Description | -
---|---|
account.getMultiWallPapers | -Get info about multiple wallpapers | -
account.getWallPaper | -Get info about a certain wallpaper | -
account.getWallPapers | -Returns a list of available wallpapers. | -
account.installWallPaper | -Install wallpaper | -
account.resetWallPapers | -Delete installed wallpapers | -
account.saveWallPaper | -Install/uninstall wallpaper | -
account.uploadWallPaper | -Create and upload a new wallpaper | -