Skip to main content

messages.getEmojiProfilePhotoGroups

Represents a list of emoji categories, to be used when selecting custom emojis to set as profile picture.

func (c *Client) MessagesGetEmojiProfilePhotoGroups(ctx context.Context, hash int) (MessagesEmojiGroupsClass, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.MessagesGetEmojiProfilePhotoGroups(ctx, hash)
if err != nil {
return err
}
_ = res // MessagesEmojiGroupsClass
return nil
})

Parameters

NameTypeRequiredDescription
HashintyesHash used for caching, for more info click here.

Returns

MessagesEmojiGroupsClass

References