diff --git a/td/telegram/cli.cpp b/td/telegram/cli.cpp index de43050d..de46ff2d 100644 --- a/td/telegram/cli.cpp +++ b/td/telegram/cli.cpp @@ -2465,6 +2465,12 @@ class CliClient final : public Actor { send_request(td_api::make_object(chat, as_chat_id(from_chat_id), as_message_ids(message_ids), false, false, op[2] == 'g', op[0] == 'c', static_cast(Random::fast(0, 1)))); + } else if (op == "resend") { + string chat_id; + string message_ids; + std::tie(chat_id, message_ids) = split(args); + + send_request(td_api::make_object(as_chat_id(chat_id), as_message_ids(message_ids))); } else if (op == "csc" || op == "CreateSecretChat") { send_request(td_api::make_object(as_secret_chat_id(args))); } else if (op == "cnsc" || op == "CreateNewSecretChat") {