Flagging a channel user
Flag and Unflag a channel user
While having moderators surveying your chats is great, this doesn't scale well. A way to overcome this is to let your users do the work for your moderators: by letting users report other users or specific messages, the work of moderators goes from scanning each message in each channel to investigate each user report (to both users and messages) and react only when deemed necessary.
Flag and Unflag Users
In order to flag a user, create an instance of AmityUserFlagger
first:
The AmityUserFlagger
lets you flag and unflag a user. It also exposes an asynchronous way to check whether the current logged-in user has already flagged the given user or not.
Flag a user
To flag a user, call the following method:
Unflag a user
To unflag a user, call the following method:
Check whether we have already flagged this user
Last updated