Whatsapp.Models.MessageOutboundMediaIdHsm (wax v1.1.4)

Model in charge of sending templates with media: https://developers.facebook.com/docs/whatsapp/api/messages/message-templates/media-message-templates

Summary

Types

t()

@type t() :: %Whatsapp.Models.MessageOutboundMediaIdHsm{
  components: term(),
  element_name: String.t(),
  file_name: String.t(),
  language_code: String.t(),
  language_policy: String.t(),
  media_id: String.t(),
  namespace: String.t(),
  params: list(),
  to: String.t(),
  type: String.t()
}

Functions

new(options)

@spec new(Keyword.t()) :: t()

Crea un mensaje nuevo

to_json(message)

validate(message)