Skip to content

Community-level user ban #5743

@likeahurricane

Description

@likeahurricane

Is the feature you are looking for already implemented in the library?

  • I have reviewed the implemented features.

Is your "solution" already implemented in an opened pull request?

  • I have reviewed the existing pull requests.

Is your feature request related to a problem? Please describe.

When working with WhatsApp Communities, moderation actions are only exposed at group level.

While it is technically possible to iterate over all groups belonging to a Community, there is no native way to perform moderation actions at Community level.

As a result, it is not possible to ban or remove a participant from a Community as a single logical entity.

Describe the solution you'd like.

Expose moderation actions at Community level.

The goal is not to simplify group iteration, but to support a proper Community-level operation, allowing a participant to be removed or banned from the Community itself.

Conceptually, this would mean removing a user from the Community entity, with WhatsApp handling the propagation to:

  • the announcement group
  • all linked sub-groups

For example (conceptually):

await client.banParticipantFromCommunity(communityId, participantId);

This reflects how Communities work from a moderation and permission perspective, rather than a client-side workaround.

Describe an alternate solution if you have one.

At the moment, there is no real alternative solution.

Iterating over groups is already possible, but it does not replace a true Community-level moderation action.

Additional Context

This request is about exposing Community-level capabilities already present in WhatsApp.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions