tg_cli: simplify addContact.
This commit is contained in:
parent
ebf478ddec
commit
01eac2d6d8
@ -2472,7 +2472,7 @@ class CliClient final : public Actor {
|
||||
send_request(td_api::make_object<td_api::getUserLink>());
|
||||
} else if (op == "subt") {
|
||||
send_request(td_api::make_object<td_api::searchUserByToken>(args));
|
||||
} else if (op == "AddContact") {
|
||||
} else if (op == "aco") {
|
||||
UserId user_id;
|
||||
string first_name;
|
||||
string last_name;
|
||||
|
Loading…
Reference in New Issue
Block a user