mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Update API scheme to layer 224.
This commit is contained in:
@@ -103,7 +103,8 @@ public:
|
||||
peer->input(),
|
||||
MTP_vector<MTPint>(ids),
|
||||
MTPVector<MTPTextWithEntities>(),
|
||||
MTP_string(to.twoLetterCode())
|
||||
MTP_string(to.twoLetterCode()),
|
||||
MTPstring() // tone
|
||||
)).done([=](const MTPmessages_TranslatedText &result) {
|
||||
doneFromList(result.data().vresult().v);
|
||||
}).fail([=](const MTP::Error &) {
|
||||
@@ -141,7 +142,8 @@ public:
|
||||
MTP_inputPeerEmpty(),
|
||||
MTPVector<MTPint>(),
|
||||
MTP_vector<MTPTextWithEntities>(text),
|
||||
MTP_string(to.twoLetterCode())
|
||||
MTP_string(to.twoLetterCode()),
|
||||
MTPstring() // tone
|
||||
)).done([=](const MTPmessages_TranslatedText &result) {
|
||||
doneFromList(result.data().vresult().v);
|
||||
}).fail([=](const MTP::Error &) {
|
||||
|
||||
Reference in New Issue
Block a user