View Source WhatsappElixir.Messages (whatsapp_elixir v0.1.0)

Module to handle WhatsApp messaging.

Link to this section Summary

Functions

Marks a message as read.

Replies to a message with a given text.

Sends a template message to a WhatsApp user.

Link to this section Functions

Link to this function

mark_as_read(message_id)

View Source

Marks a message as read.

Link to this function

reply(data, reply_text \\ "", preview_url \\ true)

View Source

Replies to a message with a given text.

Link to this function

send_message(to, content, preview_url \\ true)

View Source

Sends a text message.

Link to this function

send_template(template, recipient_id, components, lang \\ "en_US")

View Source

Sends a template message to a WhatsApp user.