InputStickerSetItem

class pyrogram.raw.types.InputStickerSetItem

Sticker in a stickerset

Constructor of InputStickerSetItem.

Details:
  • Layer: 223

  • 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
├── documentInputDocument
│ ├── InputDocumentEmpty
│ └── InputDocument
│ ├── idlong
│ ├── access_hashlong
│ └── file_referencebytes
├── emojistring
├── mask_coordsMaskCoords (optional)
│ └── MaskCoords
│ ├── nint
│ ├── xdouble
│ ├── ydouble
│ └── zoomdouble
└── keywordsstring (optional)

Example

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