Skip to main content

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​

NameTypeRequiredDescription
TitlestringyesSticker pack name

Returns​

*StickersSuggestedShortName

Possible errors​

CodeTypeDescription
400TITLE_INVALIDThe specified stickerpack title is invalid.

References​