Skip to main content

GetChatStatus

public BackendReturnObject GetChatStatus();

Description

You can check the activation status of BACKND Chat in BACKND Console.

You can turn on the chat function in BACKND Console > BACKND Chat.

Example

Synchronous

Backend.Chat.GetChatStatus();

Asynchronous

Backend.Chat.GetChatStatus((callback) =>
{
// Post-process
});

SendQueue

SendQueue.Enqueue(Backend.Chat.GetChatStatus, (callback) =>
{
// Post-process
});

Return cases

Success cases

When the request is successfully sent to the server
statusCode : 200 returnValue : refer to GetReturnValuetoJSON

GetReturnValuetoJSON

{
"chatServerStatus":
{
"chatServer":"y" // y: activated, n: deactivated
}
}