Closed olalonde closed 3 months ago
An API to toggle this option.
Check the readme file ita there
If you mean sock.groupRequestParticipantsUpdate
, that's not what I am looking for. This is for a group that is already setup to approve new participants, where as I'm looking for the API to change a group setting to "approve new participants" = "on".
const response = await sock.groupRequestParticipantsUpdate( "abcd-xyz@g.us", // id group, ["abcd@s.whatsapp.net", "efgh@s.whatsapp.net"], "approve" // replace this parameter with "reject" ) console.log(response)
Try this
Isn't this to approve new participants?
Isn't this to approve new participants?
Yes but bot need admin
Ok but that's not what I'm trying to do. I'm trying to change a group setting.
Ok but that's not what I'm trying to do. I'm trying to change a group setting.
Change it
An API to toggle this option.