4baac3178e
Add PHP, Lua language tag to Code area
44 lines
881 B
Markdown
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}}
|
|
|
|
```
|
|
|
|
|