Create a new custom AI composer tone ».
aiComposeTone#cff63ea9 flags:# creator:flags.0?true id:long access_hash:long slug:string title:string emoji_id:flags.1?long prompt:flags.4?string installs_count:flags.2?int author_id:flags.3?long example_english:flags.5?AiComposeToneExample = AiComposeTone;
aiComposeToneDefault#9bad6414 tone:string emoji_id:long title:string = AiComposeTone;
---functions---
aicompose.createTone#4aa83913 flags:# display_author:flags.0?true emoji_id:long title:string prompt:string = AiComposeTone;
| 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.