aicompose.UpdateTone#
- class pyrogram.raw.functions.aicompose.UpdateTone#
Edit a custom AI composer tone previously created by the current user. Only the fields whose flag is set will be modified.
Usable by ✅ Users ❌ Bots- Details:
Layer:
227ID:
903BCF59
- Parameters:
tone (
InputAiComposeTone) – The tone to editdisplay_author (
bool, optional) – If set, changes whether the current user is publicly credited as the author of the tone (ternary value, can be not set, set and true, set and false).emoji_id (
int64-bit, optional) – If set, the new custom emoji ID of the tone’s icontitle (
str, optional) – If set, the new human-readable tone name, up to aicompose_tone_title_length_max » UTF-8 characters longprompt (
str, optional) – If set, the new prompt that describes how the AI should rephrase messages using this tone, up to aicompose_tone_prompt_length_max » UTF-8 characters long
- Returns: