feat: improve group member events and push delivery
This commit is contained in:
@@ -28,6 +28,8 @@ type Recipient struct {
|
||||
Delivered int `json:"delivered"`
|
||||
// List of user's devices that the packet was delivered to (if known). Len(Devices) >= Delivered
|
||||
Devices []string `json:"devices,omitempty"`
|
||||
// Deliver as a data-only notification without showing an alert.
|
||||
Silent bool `json:"silent,omitempty"`
|
||||
// Unread count to include in the push
|
||||
Unread int `json:"unread"`
|
||||
// Indicates whether unread counter in the cache should be incremented before sending the push.
|
||||
|
||||
Reference in New Issue
Block a user