Add channel_id to fcm data
This commit is contained in:
parent
b68f3bdb23
commit
e6fbf85e6e
@ -84,6 +84,7 @@ func (fb FirebaseConnector) SendNotification(ctx context.Context, user models.Us
|
|||||||
"trimmed": langext.Conditional(msg.NeedsTrim(), "true", "false"),
|
"trimmed": langext.Conditional(msg.NeedsTrim(), "true", "false"),
|
||||||
"title": msg.Title,
|
"title": msg.Title,
|
||||||
"channel": channel.DisplayName,
|
"channel": channel.DisplayName,
|
||||||
|
"channel_id": channel.ChannelID,
|
||||||
"body": langext.Coalesce(msg.TrimmedContent(), ""),
|
"body": langext.Coalesce(msg.TrimmedContent(), ""),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user