SMSFactor.Notifications (SMSFactor v0.5.0)
View SourceWrappers around Notifications section of SMSFactor API.
Summary
Types
Supports the following options
Types
Supports the following options :
alert_triggerThe trigger that when reached sends notifications.alert_emailActivate or deactivate option for email(1 for true and 0 for false)alert_gsmActivate or deactivate option for gsm(1 for true and 0 for false)emailEmail you want receive notification withphone_numberNumber you want receive notification with
Example
{
"notification":{
"alert_trigger" : "500",
"alert_email": "1",
"alert_gsm": "1",
"email" : "ano@nyme.com",
"phone_number" : "33612345678"
}
}
Functions
@spec get_balance(Tesla.Client.t()) :: Tesla.Env.result()
@spec update_balance(Tesla.Client.t(), balance_params()) :: Tesla.Env.result()