aicompose.CreateTone¶
- class pyrogram.raw.functions.aicompose.CreateTone[source]¶
Create a new custom AI composer tone ».
Usable by Users Bots- Details:
Layer:
229ID:
4AA83913
- Parameters:
emoji_id (
int64-bit) – Custom emoji ID of the tone’s icontitle (
str) – Human-readable tone name, up to aicompose_tone_title_length_max » UTF-8 characters longprompt (
str) – The prompt that describes how the AI should rephrase messages using this tone, up to aicompose_tone_prompt_length_max » UTF-8 characters longdisplay_author (
bool, optional) – If set, the current user will be publicly credited as the author of the tone
- Returns: