OptionalentityThe chat with the messages to translate. Requires ids.
OptionalidsID(s) of the messages to translate. Requires entity.
OptionaltextRaw text(s) to translate instead of messages.
Target language: a two-letter ISO 639-1 code (e.g. "en", "ru").
OptionaltoneAI translation tone (Premium).
Parameters for TelegramClient.translateText: either messages of a chat, or raw text.