diff --git a/blaze.go b/blaze.go index 4a8c0f6..f64e8ea 100644 --- a/blaze.go +++ b/blaze.go @@ -85,6 +85,17 @@ type AppButtonView struct { Color string `json:"color"` } +type AppCardAction = AppButtonView + +type AppCardView struct { + AppID string `json:"app_id"` + CoverURL string `json:"cover_url"` + Title string `json:"title"` + Description string `json:"description"` + Actions []AppCardAction `json:"actions"` + Shareable bool `json:"shareable"` +} + type messageContext struct { transactions *tmap readDone chan bool