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
| Name | Type | Required | Description |
|---|---|---|---|
Hash | int | yes | Hash used for caching, for more info click here. |
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
help.getPeerProfileColors#abcfa9fd