flag and unflag a message
While having moderators surveying your chats is great, it doesn't scale well. A way to overcome this is to let your users do the work for your moderators. By letting users flag other users or specific messages, the work of moderators is significantly reduced and democratized, thus allowing administrators to only respond to issues when deemed critical or absolutely necessary.
In order to flag a message, create an instance of EkoMessageFlagger
first:
The EkoMessageFlagger
lets you flag and unflag a message, and it also exposes a asynchronous way to check whether the current user has flagged the given message already:
To flag a message, call the following method:
To unflag a message, call the following method:
The User can also check if they have previously flagged the message before by calling the following asynchronous method:
Remember that each
EkoMessageFlagger
is tied to one specific message.