Push #

In order to better facilitate the service for your users, we also provide third-party-push to help you connect with your users.


In order to minimize conflicts, AIHelp does not integrate any third-party-push. We just serve as a message relay platform to help you remind users or other services in the form of push.

Besides, you can make use of the third-party push to make your In-app notification.


Call this method to inform AIHelp of the player’s push token and push platform.

This API requires the following parameters:

  • pushToken

    Required. Users’ push token, get it from the your push platform.

  • pushPlatform

    Required. AIHelp support 4 different platforms, which are APNs, FireBase, jpush and GeTui.

Code example #

The code example is as follows:

AIHelpSupport.setPushTokenAndPlatform("PUSH_TOKEN", PushPlatform.FIREBASE);
[AIHelpSupportSDK setPushToken:@"PUSH_TOKEN" pushPlatform:PUSH_PLATFORM];
AIHelpSupport::setPushTokenAndPlatform("PUSH_TOKEN", PUSH_PLATFORM);
AIHelpSupport.setPushTokenAndPlatform("PUSH_TOKEN", PUSH_PLATFORM);