set_chat_theme()¶
- async Client.set_chat_theme()¶
Set a theme for a chat.
Usable by Users Bots- Parameters:
chat_id (
int|str) – Unique identifier (int) or username (str) of the target chat.theme (
str) – The emoji or theme identifier to set. Pass empty string to remove.
- Returns:
bool– True on success.
Example
await app.set_chat_theme(chat_id, "🌈")