Skip to content

Commit a357cc3

Browse files
committed
feat(badge): add Sound, Border, BorderColor fields to BadgeEvent struct
1 parent e4e77e7 commit a357cc3

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

pkg/baseds/baseds.go

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ type Badge struct {
2222
}
2323

2424
type BadgeEvent struct {
25-
ORef string `json:"oref"`
26-
Clear bool `json:"clear,omitempty"`
27-
ClearAll bool `json:"clearall,omitempty"`
28-
ClearById string `json:"clearbyid,omitempty"`
29-
Badge *Badge `json:"badge,omitempty"`
25+
ORef string `json:"oref"`
26+
Clear bool `json:"clear,omitempty"`
27+
ClearAll bool `json:"clearall,omitempty"`
28+
ClearById string `json:"clearbyid,omitempty"`
29+
Badge *Badge `json:"badge,omitempty"`
30+
Sound string `json:"sound,omitempty"`
31+
Border bool `json:"border,omitempty"`
32+
BorderColor string `json:"bordercolor,omitempty"`
3033
}

0 commit comments

Comments
 (0)