Skip to content

Commit

Permalink
feat(fcm): Set FCMOptions for MulticastMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Mar 11, 2024
1 parent 1b8a162 commit ca81030
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions messaging/messaging_batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ type MulticastMessage struct {
Android *AndroidConfig
Webpush *WebpushConfig
APNS *APNSConfig
FCMOptions *FCMOptions
}

func (mm *MulticastMessage) toMessages() ([]*Message, error) {
Expand All @@ -66,6 +67,7 @@ func (mm *MulticastMessage) toMessages() ([]*Message, error) {
Android: mm.Android,
Webpush: mm.Webpush,
APNS: mm.APNS,
FCMOptions: mm.FCMOptions,
}
messages = append(messages, temp)
}
Expand Down

0 comments on commit ca81030

Please sign in to comment.