Skip to main content

help.getPeerProfileColors

Get the set of accent color palettes » that can be used in profile page backgrounds.

func (c *Client) HelpGetPeerProfileColors(ctx context.Context, hash int) (HelpPeerColorsClass, error)

Calling this method

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

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

Parameters

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

Returns

HelpPeerColorsClass

References