account.getMultiWallPapers

Get info about multiple wallpapers

Example

const {Api, TelegramClient} = require('telegram');
const {StringSession} = require('telegram/sessions');

const session = new StringSession('');
const client = new TelegramClient(session, apiId, apiHash, {});

(async function run() {
    const result = await client.invoke(new Api.account.getMultiWallPapers({
        wallpapers: [new Api.InputWallPaper({...})],
        }));
    console.log(result); // prints the result
})();

TL schema

---functions---
account.getMultiWallPapers#65ad71dc wallpapers:Vector<InputWallPaper> = Vector<WallPaper>;

Parameters

Name

Type

Description

wallpapers

Wallpapers to fetch info about

Result

Vector[WallPaper](https://core.telegram.org/type/WallPaper)

Possible errors

Code

Type

Description

Can bots use this methd ?

yes

Last updated