Skip to content

Commit

Permalink
Improving outbound templated message capabilities (#208)
Browse files Browse the repository at this point in the history
* Improving outbound templated message capabilities
  • Loading branch information
saurabhnewatiya-plivo authored Jun 21, 2024
1 parent 137f458 commit c96ec72
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Change Log

## [7.50.0](https://github.com/plivo/plivo-go/tree/v7.50.0) (2024-06-20)
- Improving outbound templated message capabilities

## [7.49.2](https://github.com/plivo/plivo-go/tree/v7.49.2) (2024-06-07)
**Bug Fix - List and Get Media object url fix**
- Fixed the media_url response value
Expand Down
2 changes: 1 addition & 1 deletion baseclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/google/go-querystring/query"
)

const sdkVersion = "7.49.2"
const sdkVersion = "7.50.0"

const lookupBaseUrl = "lookup.plivo.com"

Expand Down
6 changes: 6 additions & 0 deletions messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ type Component struct {
SubType string `mapstructure:"sub_type" json:"sub_type,omitempty"`
Index string `mapstructure:"index" json:"index,omitempty"`
Parameters []Parameter `mapstructure:"parameters" json:"parameters"`
Cards []Card `mapstructure:"cards" json:"cards,omitempty"`
}

type Card struct {
CardIndex int `mapstructure:"card_index" json:"card_index,omitempty"`
Components []Component `mapstructure:"components" json:"components,omitempty"`
}

type Parameter struct {
Expand Down

0 comments on commit c96ec72

Please sign in to comment.