wax v0.4.2 Whatsapp.Models.MessageOutboundMedia

Estructura del mensaje de Whatsapp

Link to this section Summary

Functions

Agrega el binario del archivo media al campo de data

Crea un mensaje nuevo

Link to this section Types

Link to this type

t()

t() :: %Whatsapp.Models.MessageOutboundMedia{
  caption: term(),
  data: term(),
  extension: term(),
  file_name: term(),
  media_id: term(),
  mime_type: term(),
  to: term(),
  type: term()
}

Link to this section Functions

Link to this function

_add_binary_data(msg)

_add_binary_data(map()) :: map()

Agrega el binario del archivo media al campo de data

Link to this function

new(options)

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

Crea un mensaje nuevo

Link to this function

set_media_id(media, media_id)

Link to this function

to_json(message)

Link to this function

validate(message)