messages.getStickerSet

Get info about a stickerset

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.getStickerSet({
        stickerset: new Api.InputStickerSet({...}),
        }));
    console.log(result); // prints the result
})();

TL schema

messages.stickerSet#b60a24a6 set:StickerSet packs:Vector<StickerPack> documents:Vector<Document> = messages.StickerSet;
---functions---
messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet;

Parameters

Name

Type

Description

stickerset

Stickerset

Result

messages.StickerSet

Possible errors

Code

Type

Description

400

STICKERSET_INVALID

The provided sticker set is invalid

Can bots use this methd ?

yes

Last updated