diff --git a/CHANGELOG.md b/CHANGELOG.md index 03326cd..bc39432 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/baseclient.go b/baseclient.go index fb5464b..0cc87ef 100644 --- a/baseclient.go +++ b/baseclient.go @@ -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" diff --git a/messages.go b/messages.go index 94a85b9..ea779bf 100644 --- a/messages.go +++ b/messages.go @@ -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 {