View Source WhatsappElixir.HTTP (whatsapp_elixir v0.1.2)

Module to handle HTTP requests for the WhatsApp Elixir library.

Link to this section Summary

Link to this section Functions

Link to this function

api_version(custom_config \\ [])

View Source
Link to this function

base_url(custom_config \\ [])

View Source
Link to this function

config(custom_config \\ [])

View Source

Specs

config(keyword()) :: keyword()
Link to this function

delete(endpoint, params, opts \\ [])

View Source

Sends a DELETE request to the specified endpoint with the given parameters.

Link to this function

get(endpoint, params \\ %{}, opts \\ [])

View Source
Link to this function

post(endpoint, body, opts \\ [], include_phone_number_id \\ true)

View Source

Sends a POST request to the specified endpoint with the given body.