aicompose.createTone
Create a new custom AI composer tone ».
Create a new custom [AI composer tone »](https://core.telegram.org/api/ai.md#ai-compose-tones).
| Name | Type | Required | Description |
|---|---|---|---|
display_author | true | No | If set, the current user will be publicly credited as the author of the tone |
emoji_id | long | Yes | [Custom emoji ID](https://core.telegram.org/api/custom-emoji.md) of the tone's icon |
title | string | Yes | 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 | Yes | The 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_TITLE_INVALID — The specified tone title is invalid.