help.getPeerColors
Get the set of accent color palettes » that can be used for message accents.
func (c *Client) HelpGetPeerColors(ctx context.Context, hash int) (HelpPeerColorsClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.HelpGetPeerColors(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.getPeerColors#da80f42f