InputStickerSetItem

class pyrogram.raw.types.InputStickerSetItem

Sticker in a stickerset

Constructor of InputStickerSetItem.

Details:
  • Layer: 227

  • ID: 32DA9E9C

Parameters:
  • document (InputDocument) – The sticker

  • emoji (str) – Associated emoji

  • mask_coords (MaskCoords, optional) – Coordinates for mask sticker

  • keywords (str, optional) – Set of keywords, separated by commas (can’t be provided for mask stickers)

TL Schema

inputStickerSetItem#32da9e9c
flags:#
document:InputDocument
emoji:string
mask_coords:flags.0?MaskCoords
keywords:flags.1?string

= InputStickerSetItem

Parameter Tree

InputStickerSetItem
├── document → InputDocument
│ ├── InputDocumentEmpty
│ └── InputDocument
│ ├── id → long
│ ├── access_hash → long
│ └── file_reference → bytes
├── emoji → string
├── mask_coords → MaskCoords (optional)
│ └── MaskCoords
│ ├── n → int
│ ├── x → double
│ ├── y → double
│ └── zoom → double
└── keywords → string (optional)

Example

InputStickerSetItem(
    document=InputDocumentEmpty(),
    emoji="text",
)