Skip to main content

Open Unread Message (OpenUnreadMessage)

AndroidiOSPC

If you are using Unreal Engine, see OpenUnreadMessage in the Unreal Engine SDK.

Open unread messages. This API can only be called after receiving the asynchronous callback from InitCustomer.

Function definition​

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

Parameter Instructions​

NameTypeExplanation
uidstringUser ID
push_tokenstringToken of the push platform. Currently, only Firebase is supported.

Observers​

The callback handling interface is CustomerResultObserver.
The callback data structure is CustomerResult.

The callback ID is INTL_CUSTOMER_OPEN_UNREAD_MESSAGE.

Code example​

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