Update API scheme to layer 224.

This commit is contained in:
John Preston
2026-03-11 17:00:27 +04:00
parent 1e6f7c7f3f
commit 9f57a82c75
17 changed files with 113 additions and 34 deletions
@@ -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 &) {