channels.updateColor
Update the accent color and background custom emoji » of a channel.
Update the [accent color and background custom emoji »](https://core.telegram.org/api/colors.md) of a channel.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
for_profile | true | لأ | Whether to change the accent color emoji pattern of the profile page; otherwise, the accent color and emoji pattern of messages will be changed. Channels can change both message and profile palettes; supergroups can only change the profile palette, of course after reaching the [appropriate boost level](https://core.telegram.org/api/colors.md). |
channel | InputChannel | أيوه | Channel whose accent color should be changed. |
color | int | لأ | [ID of the accent color palette »](https://core.telegram.org/api/colors.md) to use (not RGB24, see [here »](https://core.telegram.org/api/colors.md) for more info); if not set, the default palette is used. |
background_emoji_id | long | لأ | Custom emoji ID used in the accent color pattern. |
الردود
Updates
MTProto RPC
- 400 · BOOSTS_REQUIRED — The specified channel must first be [boosted by its users](https://core.telegram.org/api/boost.md) in order to perform this action.
- 400 · CHANNEL_INVALID — The provided channel is invalid.