Layer 220
constructor
documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Mask flags.1?true Whether this is a mask sticker
Alt string Alternative emoji representation of sticker
Stickerset InputStickerSet Associated stickerset
MaskCoords flags.0?MaskCoords Mask coordinates (if this is a mask sticker, attached to a photo)

Gogram Example

// Creating DocumentAttributeSticker constructor
obj := &tg.DocumentAttributeSticker{
    Alt: "...",
    Stickerset: &tg.InputStickerSet{},

    // Optional fields:
    // Mask: true,
    // MaskCoords: &tg.MaskCoords{},
}