Legacy Notice: This extension is considered legacy and is scheduled for deprecation in the near future. It is no longer recommended for new integrations.Please note: Legacy extensions are no longer actively maintained and will not receive feature updates or enhancements.
Messages can be reported in either group conversations or one-on-one conversations.In the context menu of a message, you can have a “Report” button. Clicking it should open up a modal asking for the reason.Here’s the description of the parameters that need to be passed to the extension:
Parameters
Value
Description
msgId
Integer
The ID of the message that has to be reported
reason
String
The reason for reporting the message.
Once you have the message to be reported along with the reason, make use of the callExtension method provided by the SDK to submit the report: