messages.ComposeMessageWithAI#
- class pyrogram.raw.functions.messages.ComposeMessageWithAI#
Invokes telegram’s AI Editor that can translate, transform, fixup and/or emojify your message in a number of different ways, privately powered by Cocoon, see here for more info! All of the modes specified below can be combined.
- Details:
Layer:
225ID:
DAECC589
- Parameters:
text (
TextWithEntities) – The messageproofread (
bool, optional) – If set, proofreads and fixes mistakes in the messageemojify (
bool, optional) – If set, adds emojis to the messagetranslate_to_lang (
str, optional) – If set, translates the message to the specified languagetone (
InputAiComposeTone, optional)
- Returns: