get_peer_colors()

async Client.get_peer_colors()

Get the set of name/message colors supported by the server.

Usable by Users Bots
Parameters:

hash (int, optional) – Hash for caching. Defaults to 0.

Returns:

PeerColors – Supported peer colors.

Example

colors = await app.get_peer_colors()