diff --git a/README.md b/README.md index 0eb9fc2..88335f0 100644 --- a/README.md +++ b/README.md @@ -533,6 +533,7 @@ The Request body must have a notifications array. The following is a parameter t | data | string array | extensible partition | - | | | retry | int | retry send notification if fail response from server. Value must be small than `max_retry` field. | - | | | topic | string | send messages to topics | | | +| image | string | image url to show in notification | - | only Android | | api_key | string | api key for firebase cloud message | - | only Android | | to | string | The value must be a registration token, notification key, or topic. | - | only Android | | collapse_key | string | a key for collapsing notifications | - | only Android | @@ -543,6 +544,7 @@ The Request body must have a notifications array. The following is a parameter t | notification | string array | payload of a FCM message | - | only Android. See the [detail](#android-notification-payload) | | expiration | int | expiration for notification | - | only iOS | | apns_id | string | A canonical UUID that identifies the notification | - | only iOS | +| collapse_id | string | An identifier you use to coalesce multiple notifications into a single notification for the user | - | only iOS | | push_type | string | The type of the notification. The value of this header is alert or background. | - | only iOS | | badge | int | badge count | - | only iOS | | category | string | the UIMutableUserNotificationCategory object | - | only iOS | @@ -914,7 +916,7 @@ func main() { } ``` -See the Node.js example and see more detail frome [README](rpc/example/node/README.md): +See the Node.js example and see more detail frome [README](rpc/example/node/README.md): [embedmd]:# (rpc/example/node/client.js js) ```js