From e94e4b8dffab6dc07ea447fedcc455c15b5003dc Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 26 Oct 2020 23:11:27 +0300 Subject: [PATCH] tg_cli: add addadmin chat member status. GitOrigin-RevId: e87588a4f1d3bd484b33aed530cd9f1a25e59ad6 --- td/telegram/cli.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/td/telegram/cli.cpp b/td/telegram/cli.cpp index ebe5e307b..ce2af3ed8 100644 --- a/td/telegram/cli.cpp +++ b/td/telegram/cli.cpp @@ -3835,6 +3835,9 @@ class CliClient final : public Actor { } else if (status_str == "anonadmin") { status = td_api::make_object("anon", false, false, false, false, false, false, false, false, false, true); + } else if (status_str == "addadmin") { + status = td_api::make_object("anon", false, false, false, false, false, + false, false, false, true, false); } else if (status_str == "admin") { status = td_api::make_object("", true, true, true, true, true, true, true, true, true, false);