View Source PlacetelAPI.Api.SMS (placetel_api v2.0.1)

API calls for all endpoints tagged SMS.

Link to this section Summary

Link to this section Functions

Link to this function

post_sms(connection, sms, opts \\ [])

View Source
@spec post_sms(Tesla.Env.client(), PlacetelAPI.Model.PostSms.t(), keyword()) ::
  {:ok, nil} | {:error, Tesla.Env.t()}

Send SMS Sends an SMS

parameters

Parameters

  • connection (PlacetelAPI.Connection): Connection to server
  • sms (PostSms):
  • opts (keyword): Optional parameters

returns

Returns

  • {:ok, nil} on success
  • {:error, Tesla.Env.t} on failure