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.color (
ReplyColor|ProfileColor) – Color type. PassReplyColorto set reply color orProfileColorto set profile color.background_emoji_id (
int, optional) – Unique identifier of the custom emoji.
- Returns:
bool– On success, True is returned.
Example
await app.update_color(chat_id, enums.ReplyColor.RED)