أرسل رسالة واتساب بسهولة باستخدام ال api إبدأ خلال دقائق
response = HTTPoison.post!(
"https://api.sendmsg.dev/message/batch",
Jason.encode!(%{
to: ["+1234567890", "+0987654321"],
message: "Hello from MSG!",
# token: "YOUR_API_TOKEN" # Optional, gives full access
})
)
result = Jason.decode!(response.body)