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. PassReplyColor
to set reply color orProfileColor
to set profile color.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)