aiComposeTone

A custom AI composer tone », used to rephrase messages in a specific style with the AI message composer.

اسکیمای سازنده از لایه 225 در دسترس است. تغییر »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
creator flags.0?true Whether the current user is the creator of this tone
id long Tone identifier
access_hash long Tone access hash
slug string Unique tone slug, used to share and install the tone via AI compose tone links »
title string Human-readable tone name, up to aicompose_tone_title_length_max » UTF-8 characters long
emoji_id flags.1?long Custom emoji ID of the tone's icon
prompt flags.4?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; only present for tones created by the current user
installs_count flags.2?int Number of users that have installed this tone
author_id flags.3?long ID of the user that created this tone, if made public by the author.
example_english flags.5?AiComposeToneExample An example showing how a sample English message is rephrased by this tone; use aicompose.getToneExample to fetch more examples.

Type

AiComposeTone

Related pages

Deep links

Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.

Client configuration

The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.

Custom emojis

Telegram allows including animated and static custom emojis inside of messages.

aicompose.getToneExample

Fetch an example showing how an AI composer tone » rephrases a sample message, used as a preview in the tone picker.

AI features

Telegram offers many AI features powered by Cocoon — a decentralized network designed to maximize privacy.