messages.searchStickerSets
Search for stickersets
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.searchStickerSets({
        excludeFeatured: true,
        q: 'random string here',
        hash: 5627127,
        }));
    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.FoundStickerSets = await client.invoke(new Api.messages.searchStickerSets({
        excludeFeatured: true,
        q: 'random string here',
        hash: 5627127,
        }));
    console.log(result); // prints the result
})();TL schema
messages.foundStickerSetsNotModified#d54b65d = messages.FoundStickerSets;
messages.foundStickerSets#5108d648 hash:int sets:Vector<StickerSetCovered> = messages.FoundStickerSets;
---functions---
messages.searchStickerSets#c2b7d08b flags:# exclude_featured:flags.0?true q:string hash:int = messages.FoundStickerSets;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?