messages.getMaskStickers

Get installed mask 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.getMaskStickers({
        hash: 5920090,
        }));
    console.log(result); // prints the result
})();

TL schema

messages.allStickersNotModified#e86602c3 = messages.AllStickers;
messages.allStickers#edfd405f hash:int sets:Vector<StickerSet> = messages.AllStickers;
---functions---
messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers;

Parameters

Result

messages.AllStickers

Possible errors

Code

Type

Description

Can bots use this methd ?

yes

How to fetch results from large lists of objects.

Last updated