Query WhatsApp messages across all conversations and numbers of the
project. To send messages use KapsoEx.WhatsApp.Messages.
Summary
Functions
Gets a message by its WhatsApp message ID (WAMID).
Lists messages, newest first, with cursor pagination.
Types
@type result() :: {:ok, map()} | {:error, KapsoEx.Error.t()}
Functions
@spec get(KapsoEx.Client.t(), String.t()) :: result()
Gets a message by its WhatsApp message ID (WAMID).
@spec list(KapsoEx.Client.t(), map() | keyword()) :: result()
Lists messages, newest first, with cursor pagination.
Params: phone_number_id, conversation_id, phone_number,
business_scoped_user_id, direction, status, message_type,
has_media, limit, before, after.