Request WhatsApp Signature (RequestWhatsAppSignature)
The first step in the WhatsApp authorization process: use this interface to obtain WhatsApp login request information including the code, which is used to send to the WhatsApp business account to get the WhatsApp authorization deeplink.
Function Definition
public static void RequestWhatsAppSignature(string extraJson)
Parameters
| Parameters | Type | Description |
|---|---|---|
| extraJson | String | Additional parameters. Currently, only the language type for the returned information needs to be specified. |
Callback Handler
The callback handler interface is AuthBaseResultObserver.
The callback data structure is BaseResult.
The callback methodID is INTL_GET_WHATSAPP_SIG.
Sample
INTLAPI.RequestWhatsAppSignature("{en}");
Return Value
Returns the player's whatsapp_code (WhatsApp login code) and whatsapp_msg (multi-language login message text) data.