wax v0.4.2 Whatsapp.Models.MessageOutbound

Estructura del mensaje de Whatsapp

Link to this section Summary

Functions

Crea un mensaje nuevo

Genera la estructura necesaria para enviar un mensaje a Whatsapp

Link to this section Types

Link to this type

t()

t() :: %Whatsapp.Models.MessageOutbound{
  body: term(),
  recipient: term(),
  to: term(),
  type: term()
}

Link to this section Functions

Link to this function

new(options)

new(Keyword.t()) :: t()

Crea un mensaje nuevo

Link to this function

to_json(message)

to_json(t()) :: map()

Genera la estructura necesaria para enviar un mensaje a Whatsapp

Link to this function

validate(message)