ExTextstack.Message (ExTextstack v0.1.1)

View Source

API for Messages

Summary

Functions

Sends an SMS using the API.

Functions

send(params \\ %{})

Sends an SMS using the API.

Required Parameters

The params map must include the following fields:

FieldTypeRequiredDescription
nameString✅ YesThe sender's name.
country_codeString✅ YesThe country code, e.g., "+63".
mobileString✅ YesThe recipient's mobile number.
messageString✅ YesThe message content.

Example Usage

ExTextstack.send_sms(%{
  "name" => "Test",
  "country_code" => "+63",
  "mobile" => "09123456789",
  "message" => "Hello, test!"
})