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 | أيوه | [معرف الرموز التعبيرية المخصص](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.