Skip to content

Commit

Permalink
Merge pull request #12 from plivo/sdk_sms_optional_field
Browse files Browse the repository at this point in the history
optional field added
  • Loading branch information
Abhishek-plivo authored Oct 1, 2018
2 parents 1b6eded + a5610ec commit a9e6b95
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ type MessageCreateParams struct {
Dst string `json:"dst,omitempty" url:"dst,omitempty"`
Text string `json:"text,omitempty" url:"text,omitempty"`
// Optional parameters.
Type string `json:"type,omitempty" url:"type,omitempty"`
URL string `json:"url,omitempty" url:"url,omitempty"`
Method string `json:"method,omitempty" url:"method,omitempty"`
Type string `json:"type,omitempty" url:"type,omitempty"`
URL string `json:"url,omitempty" url:"url,omitempty"`
Method string `json:"method,omitempty" url:"method,omitempty"`
Trackable bool `json:"trackable,omitempty" url:"trackable,omitempty"`
Log interface{} `json:"log,omitempty" url:"log,omitempty"`
// Either one of src and powerpackuuid should be given
PowerpackUUID string `json:"powerpack_uuid,omitempty" url:"powerpack_uuid,omitempty"`
}
Expand Down

0 comments on commit a9e6b95

Please sign in to comment.