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).
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
display_author | true | いいえ | If set, the current user will be publicly credited as the author of the tone |
emoji_id | long | はい | [トーンのアイコンのカスタム絵文字ID](https://core.telegram.org/api/custom-emoji.md)] |
title | string | はい | 人間が読めるトーン名、最大 [aicompose_tone_title_length_max »](https://core.telegram.org/api/config.md#aicompose-tone-title-length-max) UTF-8 文字] |
prompt | string | はい | 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 |
レスポンス
AiComposeTone
MTProto RPC
- 400 · AICOMPOSE_TONE_TITLE_INVALID — The specified tone title is invalid.