wax v0.8.4 WhatsappApi

Documentation for WhatsappApi.

Link to this section Summary

Link to this section Functions

Link to this function check(phone, provider)
check(String.t(), String.t()) :: map()

Check if phone number is valid an gets wa_id

Link to this function check_list(phone_list, provider)
check_list([String.t()], String.t()) :: map()

Check if phone list numbers are valid an gets wa_id

Link to this function create_account(data, provider)
Link to this function create_user(provider, data)
Link to this function delete_media(media_id, provider)
delete_media(String.t(), String.t()) :: tuple()
Link to this function download(media_id, provider)
Link to this function get_application(provider)
get_application(String.t()) :: map()

Obtener la configuración de la cuenta

Link to this function get_health(provider)
get_health(String.t()) :: map()

Check whatsapp health

Link to this function logout(provider)
Link to this function send_hsm(message, provider)
Link to this function send_hsm_interactive(message, provider)
Link to this function send_hsm_otp(message, provider)
Link to this function send_media(message, provider)
Link to this function send_media_hsm(message, provider)
Link to this function send_message(message, provider)

Sends a text message

Link to this function send_message_interactive(message, provider)
send_message_interactive(
  Whatsapp.Models.MessageOutboundInteractive.t(),
  String.t()
) :: map()
Link to this function send_message_media_general(message, provider)
send_message_media_general(
  Whatsapp.Models.MessageOutboundMediaGeneral.t(),
  String.t()
) :: map()
Link to this function two_step(pin, provider)
Link to this function update_application(data, provider)
update_application(map(), String.t()) :: map()

Actualiza la configuración de la cuenta

Link to this function verify_account(code, provider)