Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions models.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ type (
// Supported condition: Topic, formatted as "'yourTopic' in topics". This value is case-insensitive.
// Supported operators: &&, ||. Maximum two operators per topic message supported.
Condition string `json:"condition,omitempty"`

// Currently for iOS 10+ devices only. On iOS, use this field to represent mutable-content in the APNS payload.
// When a notification is sent and this is set to true, the content of the notification can be modified before
// it is displayed, using a Notification Service app extension. This parameter will be ignored for Android and web.
MutableContent bool `json:"mutable_content,omitempty"`
}

// Downstream result from FCM, sent in the "results" field of the Response packet
Expand Down