AiComposeToneExample

class pyrogram.raw.types.AiComposeToneExample[source]

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

Constructor of AiComposeToneExample.

Details:
  • Layer: 229

  • ID: F1D628EC

Parameters:
  • from_peer (TextWithEntities) – The original, un-transformed sample message

  • to (TextWithEntities) – The same sample message after being rephrased with this tone

Functions:

This object can be returned by 1 function.

aicompose.GetToneExample

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