mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 17:47:21 +01:00
38 lines
587 B
Markdown
38 lines
587 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, ];
|
||
|
```
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
messageSticker={_='messageSticker', sticker=sticker, }
|
||
|
|
||
|
```
|
||
|
|
||
|
|