MadelineProtoDocs/old_docs/API_docs_v13/constructors/documentAttributeSticker.md
2020-06-16 17:50:25 +02:00

900 B

title description image
documentAttributeSticker Defines a sticker https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: documentAttributeSticker

Back to constructors index

Defines a sticker

Attributes:

Name Type Required Description
alt string Yes Alternative emoji representation of sticker
stickerset InputStickerSet Optional Associated stickerset

Type: DocumentAttribute

Example:

$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'alt' => 'string', 'stickerset' => InputStickerSet];

Or, if you're into Lua:

documentAttributeSticker={_='documentAttributeSticker', alt='string', stickerset=InputStickerSet}