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.

Keywords and reasons

Keywords is a function that utilizes the console's statistics function. Try configuring it in the console and using it.
You can receive reasons from users and use the value set in the console.

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 keywords and reasons of report designated in the console. The information is imported based on the user's current language.
Dictionary<string, string> reasons = ChatClient.GetReportReasons()
// This is the report method. It sends the message index, message tag, report keywords, and reason of report as arguments.
ChatClient.SendReportChatMessage(UInt64 index, string tag, string keyword, string reason)