Skip to main content

OpenUnreadMessage

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

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

Function definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void OpenUnreadMessage(const FString &uid, const FString &push_token);

Input parameters

NameTypeDescription
uidFStringuser id
push_tokenFStringthe token of a push platform, currently only supports firebase

Observers

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

The callback methodID is kMethodIDOpenUnreadMessage.

Code sample

FString uid = TEXT("uid");
FString token = TEXT("token");
UINTLSDKAPI::OpenUnreadMessage(uid,token);