Translate a given text
messages.translateResult#33db32f8 result:Vector<TextWithEntities> = messages.TranslatedText;
---functions---
messages.translateText#63183030 flags:# peer:flags.0?InputPeer id:flags.0?Vector<int> text:flags.1?Vector<TextWithEntities> to_lang:string = messages.TranslatedText;
Parameters
Result
messages.TranslatedText
Possible errors
Code |
Type |
Description |
400 |
INPUT_TEXT_EMPTY |
The specified text is empty. |
400 |
MSG_ID_INVALID |
Invalid message ID provided. |
400 |
PEER_ID_INVALID |
The provided peer id is invalid. |
400 |
TO_LANG_INVALID |
The specified destination language is invalid. |