Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRequest ¶
type CreateRequest struct { Originator string `json:"originator"` // the sender of the message. Recipients string `json:"recipients"` // comma separated list Body string `json:"body,omitempty"` MediaUrls []string `json:"mediaUrls"` Subject string `json:"subject,omitempty"` Reference string `json:"reference,omitempty"` ScheduledDatetime *time.Time `json:"scheduledDatetime,omitempty"` }
type Message ¶
type Message struct { ID string HRef string Direction string Originator string Body string Reference string Subject string MediaUrls []string ScheduledDatetime *time.Time CreatedDatetime *time.Time Recipients messagebird.Recipients }
Message represents a MMS Message.
func Create ¶
func Create(c messagebird.Client, req *CreateRequest) (*Message, error)
Create creates a new MMS message for one or more recipients. Max of 50 recipients can be entered per request.
Click to show internal directories.
Click to hide internal directories.