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.

+

Installing wallpapers

+
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;

Wallpaper types

There are three main wallpaper types:

-
  • 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.
  • Fill wallpapers

    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 @@ +

    Working with wallpapers »

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameDescription
    account.getMultiWallPapersGet info about multiple wallpapers
    account.getWallPaperGet info about a certain wallpaper
    account.getWallPapersReturns a list of available wallpapers.
    account.installWallPaperInstall wallpaper
    account.resetWallPapersDelete all installed wallpapers, reverting to the default wallpaper set.
    account.saveWallPaperInstall/uninstall wallpaper
    account.uploadWallPaperCreate and upload a new wallpaper

    Working with web app bots »

    @@ -2461,45 +2500,6 @@ -
    Rate transcribed voice message
    -

    Working with wallpapers

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameDescription
    account.getMultiWallPapersGet info about multiple wallpapers
    account.getWallPaperGet info about a certain wallpaper
    account.getWallPapersReturns a list of available wallpapers.
    account.installWallPaperInstall wallpaper
    account.resetWallPapersDelete installed wallpapers
    account.saveWallPaperInstall/uninstall wallpaper
    account.uploadWallPaperCreate and upload a new wallpaper