Skip to content

Commit

Permalink
feat: new AppCardView (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
YeungKC authored Jul 24, 2024
1 parent b1bca33 commit c6a6e11
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions blaze.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c6a6e11

Please sign in to comment.