messages.getAttachedStickers
Get stickers attached to a photo or video
func (c *Client) MessagesGetAttachedStickers(ctx context.Context, media InputStickeredMediaClass) ([]StickerSetCoveredClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.MessagesGetAttachedStickers(ctx, media)
if err != nil {
return err
}
_ = res // []StickerSetCoveredClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Media | InputStickeredMediaClass | yes | Stickered media |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | MEDIA_EMPTY | The provided media object is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
messages.getAttachedStickers#cc5b67cc