update_color()¶
- Client.update_color()¶
Update color
Usable by Users Bots
- Parameters:¶
chat_id (
int
|str
) – Unique identifier (int) or username (str) of the target chat. You can also use chat public link in form of t.me/<username> (str).color (
ReplyColor
|ProfileColor
) – Color type. Profile color can only be set for the user.background_emoji_id (
int
, optional) – Unique identifier of the custom emoji.
- Returns:¶
bool
– On success, in case the passed-in session is authorized, True is returned.
Example
await app.update_color(chat_id, enums.ReplyColor.RED)