Layer 227
InputStickerSetItemObj
Sticker in a stickerset
constructor
inputStickerSetItem#32da9e9c flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords keywords:flags.1?string = InputStickerSetItem;
Parameters
| Name | Type | Description |
|---|---|---|
| Document | InputDocument | The sticker |
| Emoji | string | Associated emoji |
| MaskCoords | flags .0? MaskCoords | Coordinates for mask sticker |
| Keywords | flags .1? string | Set of keywords, separated by commas (can't be provided for mask stickers) |
Returns
InputStickerSetItemGogram Example
// Creating InputStickerSetItemObj constructor obj := &tg.InputStickerSetItemObj{ Document: &tg.InputDocument{ID: int64(5678901234567890), AccessHash: int64(1234567890123456), FileReference: []byte{0x01, 0x02}}, Emoji: "Hello, World!", MaskCoords: nil, Keywords: "Hello, World!", }