messages.GetAttachedStickers

class pyrogram.raw.functions.messages.GetAttachedStickers

Get stickers attached to a photo or video

Details:
  • Layer: 223

  • ID: CC5B67CC

Parameters:

media (InputStickeredMedia) – Stickered media

Returns:

List of StickerSetCovered

TL Schema

messages.getAttachedStickers#cc5b67cc
media:InputStickeredMedia

= Vector<StickerSetCovered>

Parameter Tree

GetAttachedStickers
└── mediaInputStickeredMedia
│ └── idInputPhoto
│ ├── InputPhotoEmpty
│ └── InputPhoto
│ ├── idlong
│ ├── access_hashlong
│ └── file_referencebytes
└── idInputDocument
└── InputDocument
├── idlong
├── access_hashlong
└── file_referencebytes

Example

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