Skip to main content

Report

Users can report chat messages.
You can check the report history from the console's screen and manage the chat.

Description

The following details callback methods, call methods, and information classes related to chat messages.
Index and Tag can be used in the message information to increase the accuracy of reports.

Callback methods

// Refer to the success callback.
public void OnSuccess(SUCCESS_MESSAGE success, object param)
{
switch(success)
{
case SUCCESS_MESSAGE.REPORT:
{
// This callback method is relayed when a report has been submitted.
}
break;
}
}

Call methods

// You can get the reasons of report designated in the console. The information is imported based on the user's current language.
List<string> reasons = ChatClient.GetReportReasons()
// This is the report method. It sends the message index, message tag, and reason of report as arguments.
ChatClient.SendReportChatMessage(UInt64 index, string tag, string reason)