MadelineProto/old_docs/API_docs_v73/constructors/inputStickerSetItem.md

45 lines
1.0 KiB
Markdown
Raw Normal View History

---
title: inputStickerSetItem
description: inputStickerSetItem attributes, type and example
---
## Constructor: inputStickerSetItem
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|document|[MessageMedia, Message, Update or InputDocument](../types/InputDocument.md) | Optional|
|emoji|[string](../types/string.md) | Yes|
|mask\_coords|[MaskCoords](../types/MaskCoords.md) | Optional|
### Type: [InputStickerSetItem](../types/InputStickerSetItem.md)
### Example:
```
$inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocument, 'emoji' => 'string', 'mask_coords' => MaskCoords];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputStickerSetItem", "document": InputDocument, "emoji": "string", "mask_coords": MaskCoords}
```
Or, if you're into Lua:
```
inputStickerSetItem={_='inputStickerSetItem', document=InputDocument, emoji='string', mask_coords=MaskCoords}
```