Request WhatsApp Signature (RequestWhatsAppSignature)
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
| Parameters | Type | Description |
|---|---|---|
| ExtraJson | FString | Additional 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.