Skip to content

Commit

Permalink
TrackingData in carousel moved to struct root
Browse files Browse the repository at this point in the history
  • Loading branch information
mileusna committed Jul 24, 2017
1 parent fc664a5 commit fba3aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion carousel.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ type RichMediaMessage struct {
RichMedia RichMedia `json:"rich_media"`
AltText string `json:"alt_text,omitempty"`
Keyboard *Keyboard `json:"keyboard,omitempty"`
TrackingData string `json:"tracking_data,omitempty"`
}

// RichMedia for carousel
Expand All @@ -17,7 +18,6 @@ type RichMedia struct {
ButtonsGroupColumns int `json:"ButtonsGroupColumns"`
ButtonsGroupRows int `json:"ButtonsGroupRows"`
BgColor string `json:"BgColor"`
TrackingData string `json:"tracking_data,omitempty"`
Buttons []Button `json:"Buttons"`
}

Expand Down

0 comments on commit fba3aed

Please sign in to comment.