messages.getArchivedStickers
Get all archived stickers
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.messages.getArchivedStickers({
        masks: true,
        offsetId: 4843149,
        limit: 9225670,
        }));
    console.log(result); // prints the result
})();import {Api, TelegramClient} from 'telegram';
import {StringSession} from 'telegram/sessions';
const session = new StringSession('');
const client = new TelegramClient(session, apiId, apiHash, {});
(async function run() {
    const result: Api.messages.ArchivedStickers = await client.invoke(new Api.messages.getArchivedStickers({
        masks: true,
        offsetId: 4843149,
        limit: 9225670,
        }));
    console.log(result); // prints the result
})();TL schema
messages.archivedStickers#4fcba9c8 count:int sets:Vector<StickerSetCovered> = messages.ArchivedStickers;
---functions---
messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers;Parameters
Name
Type
Description
Result
Possible errors
Code
Type
Description
Can bots use this methd ?
yes
Related pages
How to fetch results from large lists of objects.
Last updated
Was this helpful?