pub async fn toggle_supergroup_join_by_request(
supergroup_id: i64,
join_by_request: bool,
client_id: i32,
) -> Result<(), Error>
Expand description
Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires can_restrict_members administrator right
ยงArguments
supergroup_id
- Identifier of the channeljoin_by_request
- New value of join_by_requestclient_id
- The client id to send the request to