mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude | image |
---|---|---|---|
documentAttributeSticker | Defines a sticker | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: documentAttributeSticker
Defines a sticker
Attributes:
Name | Type | Required | Description |
---|---|---|---|
mask | Bool | Optional | Whether this is a mask sticker |
alt | string | Yes | Alternative emoji representation of sticker |
stickerset | InputStickerSet | Optional | Associated stickerset |
mask_coords | MaskCoords | Optional | Mask coordinates (if this is a mask sticker, attached to a photo) |
Type: DocumentAttribute
Example:
$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords];