sc_send_whatsapp($arr_settings)

This macro receives an array as a setting parameter that contains the API name set in the Scriptcase, the message, and the destiny number.

The parameters that will be used are:

  • profile: Here will be informed of the API name configured into the Scriptcase interface.
  • message: In this parameter is informed the message that will be sent through the macro.
  • to: Allows informing the destiny number of the message.

Exemplo de use:

$arr_settings = array(
                 'profile'  => 'ChatAPI',
                 'message'  => 'Test whatsapp',
                 'to' => '558182499699'
             );

sc_send_whatsapp($arr_settings);