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.
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
for_profile | true | Nein | 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 | Ja | Kanal, dessen Akzentfarbe geändert werden soll. |
color | int | Nein | [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 | Nein | Benutzerdefinierte Emoji-ID, die im Akzentfarbmuster verwendet wird. |
Antworten
Updates
MTProto RPC
- 400 · BOOSTS_REQUIRED – Der angegebene Kanal muss zuerst [von seinen Benutzern geboostet werden](https://core.telegram.org/api/boost.md), um diese Aktion auszuführen.
- 400 · CHANNEL_INVALID – Der angegebene Kanal ist ungültig.