Create a new custom AI composer tone ».
Method schema is available as of layer 225. Switch »
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| display_author | flags.0?true | If set, the current user will be publicly credited as the author of the tone |
| emoji_id | long | Custom emoji ID of the tone's icon |
| title | string | Human-readable tone name, up to aicompose_tone_title_length_max » UTF-8 characters long |
| prompt | string | The prompt that describes how the AI should rephrase messages using this tone, up to aicompose_tone_prompt_length_max » UTF-8 characters long |
| Code | Type | Description |
|---|---|---|
| 400 | AICOMPOSE_TONE_TITLE_INVALID | The specified tone title is invalid. |
Telegram allows including animated and static custom emojis inside of messages.
The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.
Telegram offers many AI features powered by Cocoon — a decentralized network designed to maximize privacy.