InstallStickerSetRequest

Only users can use this request. See code examples.

---functions---
messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult

Returns

messages.StickerSetInstallResult

This type can be an instance of either:

StickerSetInstallResultArchiveStickerSetInstallResultSuccess

Parameters

stickersetInputStickerSet
archivedBool

Known RPC errors

This request can cause 1 known error:

StickersetInvalidErrorThe provided sticker set is invalid.

You can import these from telethon.errors.

Example

from telethon.sync import TelegramClient
from telethon import functions, types

with TelegramClient(name, api_id, api_hash) as client:
    result = client(functions.messages.InstallStickerSetRequest(
        stickerset=types.InputStickerSetID(
            id=-12398745604826,
            access_hash=-12398745604826
        ),
        archived=False
    ))
    print(result.stringify())