Documentation
¶
Index ¶
Constants ¶
View Source
const ( StausCreated Status = "created" // We've received your request. StatusSent = "send" // We've sent your message to the recipient StatusFailed = "failed" // Unable to deliver your message StatuDelivered = "delivered" // Message has reached recipient's phone. )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeliveryReport ¶
type Dummy ¶
type Dummy struct {
// contains filtered or unexported fields
}
func (*Dummy) LastMessage ¶
type Elk46 ¶
https://46elks.se/docs/send-sms
func NewSender ¶
from The sender of the SMS as seen by the recipient. Either a text sender ID or a phone number in E.164 format if you want to be able to receive replies. username for accessing the api password for accessing the api callbackurl to handle delivery reports. Can be blank to skip callbacks. dryrun yes or no
type Response ¶
type Response struct { Id string `json:"id"` Status Status `json:"status"` From string `json:"from"` To string `json:"to"` Parts int `json:"parts"` Message string `json:"message"` Created string `json:"created"` Delivered string `json:"delivered"` Cost int `json:"cost"` EstimatedCost int `json:"estimated_cost"` Direction string `json:"direction"` DontLog string `json:"dontLog"` }
Click to show internal directories.
Click to hide internal directories.