MadelineProtoDocs/docs/API_docs/constructors/documentAttributeSticker_45.md

31 lines
839 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
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];
```