add option save notification

This commit is contained in:
Sinh 2023-03-27 11:42:26 +07:00
parent 58c1ec0f8e
commit 5a37fba851
1 changed files with 11 additions and 10 deletions

View File

@ -20,6 +20,7 @@ type PushRequest struct {
Link string `json:"link"` // for webpush
Order int `json:"order"` // for sort
DisplayUntil int64 `json:"displayUntil"` // time.Unix
SaveNotification bool `json:"saveNotification"`
}
// Sound ...