emojify_text_with_ai()

async Client.emojify_text_with_ai()

Adds emojis to text using an AI model.

Usable by Users Bots
Parameters:

text (str | FormattedText) – The original text.

Returns:

FormattedText – On success, information about the emojified text is returned.

Example

result = await app.emojify_text_with_ai("Good morning my friend, have a wonderful day!")
print(result.text)