mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 17:55:35 +01:00
31 lines
839 B
Markdown
31 lines
839 B
Markdown
|
---
|
||
|
title: "documentAttributeSticker"
|
||
|
description: "Defines a sticker"
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: documentAttributeSticker\_45
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
Defines a sticker
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|alt|[string](/API_docs/types/string.html) | Yes|Alternative emoji representation of sticker|
|
||
|
|stickerset|[InputStickerSet](/API_docs/types/InputStickerSet.html) | Optional|Associated stickerset|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [DocumentAttribute](/API_docs/types/DocumentAttribute.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$documentAttributeSticker_45 = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet];
|
||
|
```
|