Link Search Menu Expand Document

Constructor: documentAttributeSticker

Back to constructors index

Defines a sticker

Attributes:

NameTypeRequiredDescription
maskBoolOptionalWhether this is a mask sticker
altstringYesAlternative emoji representation of sticker
stickersetInputStickerSetOptionalAssociated stickerset
mask_coordsMaskCoordsOptionalMask 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];