Wax.Messages.Media (wax v1.1.4)
The Whatsapp Message Media Object
Fields
- id: The media object ID
- caption: Media asset caption. Doesn't apply for audio or stickers
- filename: Describes the filename for the specific document
Summary
Functions
Creates a new Media object of Audio type
Creates a new Media object of Document type
Creates a new Media object of Image type
Creates a new Media object of Video type
Types
@type media_id() :: String.t()
@type media_type() :: :audio | :document | :image | :video
@type t() :: %Wax.Messages.Media{ caption: String.t(), filename: String.t(), id: media_id(), type: media_type() }
Functions
Creates a new Media object of Audio type
Creates a new Media object of Document type
Creates a new Media object of Image type
Creates a new Media object of Video type