MadelineProtoDocs/docs/API_docs/constructors/messages_stickers.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

44 lines
881 B
Markdown

---
title: messages.stickers
description: messages_stickers attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messages.stickers
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|hash|[int](../types/int.md) | Yes|
|stickers|Array of [Document](../types/Document.md) | Yes|
### Type: [messages\_Stickers](../types/messages_Stickers.md)
### Example:
```php
$messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "messages.stickers", "hash": int, "stickers": [Document]}
```
Or, if you're into Lua:
```lua
messages_stickers={_='messages.stickers', hash=int, stickers={Document}}
```