here'
result = client(functions.messages.TranslateTextRequest(
to_lang='some string here',
peer='username',
msg_id=42,
text='some string here',
from_lang='some string here'
))
This works without text result = client(functions.messages.TranslateTextRequest( to_lang='fr', peer=-100, msg_id=304, from_lang='en' )) print(result.text) The question was what does text!
https://t.me/<peerid>/msg_id
Обсуждают сегодня