ToggleSupergroupJoinByRequest constructor

ToggleSupergroupJoinByRequest(
  1. {required int supergroup_id,
  2. required bool join_by_request,
  3. int? extra,
  4. int? clientId}
)

Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires can_restrict_members administrator right

Returns Ok

Implementation

ToggleSupergroupJoinByRequest