messages.setChatTheme
Change the chat theme of a certain chat, see here » for more info.
Change the chat theme of a certain chat, see [here »](https://core.telegram.org/api/themes.md#chat-themes) for more info.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
peer | InputPeer | أيوه | Private chat where to change theme |
theme | InputChatTheme | أيوه | The theme to set. |
الردود
Updates
MTProto RPC
- 400 · EMOJI_INVALID — The specified theme emoji is valid.
- 400 · EMOJI_NOT_MODIFIED — The theme wasn't changed.
- 400 · PEER_ID_INVALID — The provided peer id is invalid.