tg_cli: add minadmin.
GitOrigin-RevId: 9dcc1da628b445a227be556185af1e474c5fd1cf
This commit is contained in:
parent
66bf58ca0e
commit
17b1222a9a
@ -3311,6 +3311,9 @@ class CliClient final : public Actor {
|
|||||||
} else if (status_str == "admin") {
|
} else if (status_str == "admin") {
|
||||||
status = td_api::make_object<td_api::chatMemberStatusAdministrator>(true, true, true, true, true, true, true,
|
status = td_api::make_object<td_api::chatMemberStatusAdministrator>(true, true, true, true, true, true, true,
|
||||||
true, true);
|
true, true);
|
||||||
|
} else if (status_str == "minadmin") {
|
||||||
|
status = td_api::make_object<td_api::chatMemberStatusAdministrator>(true, true, false, false, false, false,
|
||||||
|
false, false, false);
|
||||||
} else if (status_str == "unadmin") {
|
} else if (status_str == "unadmin") {
|
||||||
status = td_api::make_object<td_api::chatMemberStatusAdministrator>(true, false, false, false, false, false,
|
status = td_api::make_object<td_api::chatMemberStatusAdministrator>(true, false, false, false, false, false,
|
||||||
false, false, false);
|
false, false, false);
|
||||||
|
Reference in New Issue
Block a user