messages.GetAttachedStickers

class pyrogram.raw.functions.messages.GetAttachedStickers

Get stickers attached to a photo or video

Details:
  • Layer: 227

  • ID: CC5B67CC

Parameters:

media (InputStickeredMedia) – Stickered media

Returns:

List of StickerSetCovered

TL Schema

messages.getAttachedStickers#cc5b67cc
media:InputStickeredMedia

= Vector<StickerSetCovered>

Parameter Tree

GetAttachedStickers
└── media → InputStickeredMedia
│ └── id → InputPhoto
│ ├── InputPhotoEmpty
│ └── InputPhoto
│ ├── id → long
│ ├── access_hash → long
│ └── file_reference → bytes
└── id → InputDocument
└── InputDocument
├── id → long
├── access_hash → long
└── file_reference → bytes

Example

await app.invoke(
    GetAttachedStickers(
        media=InputStickeredMediaPhoto(id=InputPhotoEmpty()),
    )
)