stickers.removeStickerFromSet
Remove a sticker from the set where it belongs. The sticker set must have been created by the current user/bot.
func (c *Client) StickersRemoveStickerFromSet(ctx context.Context, sticker InputDocumentClass) (MessagesStickerSetClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.StickersRemoveStickerFromSet(ctx, sticker)
if err != nil {
return err
}
_ = res // MessagesStickerSetClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Sticker | InputDocumentClass | yes | The sticker to remove |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | STICKER_INVALID | The provided sticker is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
stickers.removeStickerFromSet#f7760f51