1.2 KiB
1.2 KiB
title | description | image |
---|---|---|
documentAttributeSticker | Document attribute sticker | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: documentAttributeSticker
Document attribute sticker
Attributes:
Name | Type | Required | Description |
---|---|---|---|
mask | Bool | Optional | Mask? |
alt | string | Yes | Alt |
stickerset | InputStickerSet | Optional | Stickerset |
mask_coords | MaskCoords | Optional | Mask coords |
Type: DocumentAttribute
Example:
$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => 'string', 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords];
PWRTelegram json-encoded version:
{"_": "documentAttributeSticker", "mask": Bool, "alt": "string", "stickerset": InputStickerSet, "mask_coords": MaskCoords}
Or, if you're into Lua:
documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt='string', stickerset=InputStickerSet, mask_coords=MaskCoords}