aicompose.updateTone
Edit a custom AI composer tone » previously created by the current user. Only the fields whose flag is set will be modified.
Edit a custom [AI composer tone »](https://core.telegram.org/api/ai.md#ai-compose-tones) previously created by the current user. Only the fields whose flag is set will be modified.
| Name | Type | Required | Description |
|---|---|---|---|
tone | InputAiComposeTone | Yes | The tone to edit |
display_author | Bool | No | If set, changes whether the current user is publicly credited as the author of the tone (ternary value, can be not set, set and true, set and false). |
emoji_id | long | No | If set, the new [custom emoji ID](https://core.telegram.org/api/custom-emoji.md) of the tone's icon |
title | string | No | If set, the new human-readable tone name, up to [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 characters long |
prompt | string | No | If set, the new prompt that describes how the AI should rephrase messages using this tone, up to [aicompose_tone_prompt_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-prompt-length-max) UTF-8 characters long |
Responses
AiComposeTone
MTProto RPC
- 400 · AICOMPOSE_TONE_INVALID — The specified tone is invalid.