messages.getStickerSet
Get info about a stickerset
func (c *Client) MessagesGetStickerSet(ctx context.Context, request *MessagesGetStickerSetRequest) (MessagesStickerSetClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.MessagesGetStickerSet(ctx, &tg.MessagesGetStickerSetRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // MessagesStickerSetClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Stickerset | InputStickerSetClass | yes | Stickerset |
Hash | int | yes | Hash used for caching, for more info click here |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | EMOTICON_STICKERPACK_MISSING | inputStickerSetDice.emoji cannot be empty. |
| 406 | STICKERSET_INVALID | The provided sticker set is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
messages.getStickerSet#c8a0ec74