stickers.suggestShortName
Suggests a short name for a given stickerpack name
func (c *Client) StickersSuggestShortName(ctx context.Context, title string) (*StickersSuggestedShortName, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.StickersSuggestShortName(ctx, title)
if err != nil {
return err
}
_ = res // *StickersSuggestedShortName
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Title | string | yes | Sticker pack name |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | TITLE_INVALID | The specified stickerpack title is invalid. |
References
- Official documentation
- Generated Go reference
- TL definition:
stickers.suggestShortName#4dafc503