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 #

NameTypeDescription
toneInputAiComposeToneThe tone to preview
numint0-based index of the example to fetch, to cycle through the available examples (there are aicompose_tone_examples_num » examples per tone)

Result #

AiComposeToneExample

Only users can use this method #

Possible errors #

CodeTypeDescription
400AICOMPOSE_TONE_INVALIDThe specified tone is invalid.

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.