View Source ExTDLib.Method.ToggleSupergroupJoinByRequest (ExTDLib v0.0.4)
Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires can_restrict_members administrator right. Returns object_ptr<Ok>.
| Name | Type | Description |
|---|---|---|
| supergroup_id | string | Identifier of the channel. |
| join_by_request | bool | New value of join_by_request. |
More details on telegram's documentation.