get_attached_stickers()

async Client.get_attached_stickers()

Get sticker sets attached to a photo or video.

Usable by Users Bots
Parameters:

media (InputStickeredMedia) – The photo or video to get attached stickers for.

Returns:

List of StickerSetCovered – The attached sticker sets.

Example

stickers = await app.get_attached_stickers(
    raw.types.InputStickeredMediaPhoto(id=photo)
)