Skip to main content

Request WhatsApp Signature (RequestWhatsAppSignature)

AndroidiOS
If you're using the Unity engine, see the RequestWhatsAppSignature for the Unity SDK.

The first step in the WhatsApp authorization process: use this interface to obtain WhatsApp login request information containing a code, which is sent to the WhatsApp business account to get the WhatsApp authorization deeplink.

Function Definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
void UINTLSDKAPI::RequestWhatsAppSignature(const FString ExtraJson);

Parameters

ParametersTypeDescription
ExtraJsonFStringAdditional parameters, currently only requires passing the language type for returned information.

Callback Handler

The callback processing interface is AuthBaseResultObserver.
The callback data structure is BaseResult.

The callback methodID is kMethodIDGetWhatsAppSignature.

Sample

UINTLSDKAPI::RequestWhatsAppSignature("{en}");

Return Value

Returns player whatsapp_code (WhatsApp login code) and whatsapp_msg (multi-language login message text) data.