Report
Users can report chat messages.
You can check the report history from the console's screen and manage the chat.
Description
Callback methods, call methods, and information classes related to the channel.
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 method
// Refer to the success callback.
void OnSuccess(BackndChat::SUCCESS_MESSAGE success, void* param)
{
switch (success)
{
case BackndChat::SUCCESS_MESSAGE::REPORT:
{
}
break;
}
}
Call method
// You can get the keywords and reasons of report designated in the console. The information is imported based on the user's current language.
map<string, string> reasons = BackndChat::BDChatMain::GetReportReasons()
// This is the report method. It sends the message index, message tag, report keywords, and reason of report as arguments.
BackndChat::BDChatMain::SendReportChatMessage(uint64_t index, string tag, string keyword, string reason);