aicompose.getToneExample #
Fetch an example showing how an AI composer tone » rephrases a sample message, used as a preview in the tone picker.¶
Layer 223
Method schema is available as of layer 225. Switch » Parameters #
| Name | Type | Description |
|---|---|---|
| tone | InputAiComposeTone | The tone to preview |
| num | int | 0-based index of the example to fetch, to cycle through the available examples (there are aicompose_tone_examples_num » examples per tone) |
Result #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | AICOMPOSE_TONE_INVALID | The specified tone is invalid. |
Related pages #
Client configuration #
The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.¶
AI features #
Telegram offers many AI features powered by Cocoon — a decentralized network designed to maximize privacy.¶