1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 06:36:55 +01:00
MadelineProto/docs/TD_docs/constructors/messageSticker.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

45 lines
699 B
Markdown

---
title: messageSticker
description: Sticker message
---
## Constructor: messageSticker
[Back to constructors index](index.md)
Sticker message
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|sticker|[sticker](../types/sticker.md) | Yes|Message content|
### Type: [MessageContent](../types/MessageContent.md)
### Example:
```
$messageSticker = ['_' => 'messageSticker', 'sticker' => sticker];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "messageSticker", "sticker": sticker}
```
Or, if you're into Lua:
```
messageSticker={_='messageSticker', sticker=sticker}
```