tg_cli: simplify addContact.

This commit is contained in:
levlam 2023-06-28 16:29:20 +03:00
parent ebf478ddec
commit 01eac2d6d8

View File

@ -2472,7 +2472,7 @@ class CliClient final : public Actor {
send_request(td_api::make_object<td_api::getUserLink>()); send_request(td_api::make_object<td_api::getUserLink>());
} else if (op == "subt") { } else if (op == "subt") {
send_request(td_api::make_object<td_api::searchUserByToken>(args)); send_request(td_api::make_object<td_api::searchUserByToken>(args));
} else if (op == "AddContact") { } else if (op == "aco") {
UserId user_id; UserId user_id;
string first_name; string first_name;
string last_name; string last_name;