Skip to main content

Open Unread Message (OpenUnreadMessage)

AndroidiOSWindows
If you are using Unreal Engine, see OpenUnreadMessage for 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);