Open Unread Message (OpenUnreadMessage)
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
| Name | Type | Explanation |
|---|---|---|
| uid | String | User ID |
| push_token | String | Token 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);