Skip to main content

Request WhatsApp Signature (RequestWhatsAppSignature)

If you are using Unreal Engine, please refer to RequestWhatsAppSignature in the Unreal Engine SDK.

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​

ParametersTypeExplanation
extraJsonstringAdditional 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.