Skip to content

[core] feat(WEBJS): add group membership approval API - #2200

Open
icecubex300 wants to merge 1 commit into
devlikeapro:devfrom
icecubex300:feat/group-membership-approval
Open

[core] feat(WEBJS): add group membership approval API#2200
icecubex300 wants to merge 1 commit into
devlikeapro:devfrom
icecubex300:feat/group-membership-approval

Conversation

@icecubex300

Copy link
Copy Markdown

Adds WEBJS support for WhatsApp group membership approval. whatsapp-web.js already exposes the underlying operations, but WAHA did not make them available through its group API.

  • get and update the membership approval setting
  • list pending group membership requests
  • approve or reject one or more requests
  • emit group.v2.membership-request webhooks
  • normalize the membership approval value returned in group info

Tested:

  • corepack yarn lint
  • corepack yarn build
  • manually tested with a live WEBJS session

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant