Skip to main content

OpenUnreadMessage

AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see OpenUnreadMessage for Unreal Engine SDK.

Open unread message, this interface can only be called after receiving the asynchronous callback of InitCustomer

Function definition​

public static void OpenUnreadMessage(string uid, string pushToken);

Input parameters​

NameTypeDescription
uidstringuser id
push_tokenstringthe token of a push platform, currently only supports firebase

Callback Processing​

The callback processing API is CustomerResultObserver.
The callback data structure is CustomerResult.

The callback methodID is INTL_CUSTOMER_OPEN_UNREAD_MESSAGE.

Code sample​

var uid = "uid";
var token = "token";
INTLAPI.OpenUnreadMessage(uid,token);