messages.getOldFeaturedStickers

Method for fetching previously featured 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.getOldFeaturedStickers({
        offset: 8677441,
        limit: 4805896,
        hash: 4220830,
        }));
    console.log(result); // prints the result
})();

TL schema

messages.featuredStickersNotModified#c6dc0c66 count:int = messages.FeaturedStickers;
messages.featuredStickers#b6abc341 hash:int count:int sets:Vector<StickerSetCovered> unread:Vector<long> = messages.FeaturedStickers;
---functions---
messages.getOldFeaturedStickers#5fe7025b offset:int limit:int hash:int = messages.FeaturedStickers;

Parameters

Name

Type

Description

offset

Offset

limit

Maximum number of results to return, see pagination

hash

Result

messages.FeaturedStickers

Possible errors

Code

Type

Description

Can bots use this methd ?

yes

How to fetch results from large lists of objects.

Last updated