Link Search Menu Expand Document

Constructor: inputStickerSetItem

Back to constructors index

Sticker in a stickerset

Attributes:

NameTypeRequiredDescription
documentMessageMedia, Message, Update or InputDocumentOptionalThe sticker
emojistringYesAssociated emoji
mask_coordsMaskCoordsOptionalCoordinates for mask sticker
keywordsstringOptionalSet of keywords, separated by commas (can’t be provided for mask stickers)

Type: InputStickerSetItem

Example:

$inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocument, 'emoji' => 'string', 'mask_coords' => MaskCoords, 'keywords' => 'string'];