Update dialog notification settings for current user.
Update Notification Settings with API key
1. Use 'Authorization' header to pass API key
2. Use 'On-Behalf-Of' header to pass user_id
To execute a request on behalf of a specific user.
3. Set settings
“enabled”: 0 - turn off the push notifications for specified dialog
“enabled”: 1 - turn off the push notifications for specified dialog
4. Set dialog ID
Specify the ID of the dialog whose setting status you want to update.
5. As result, the API returns updated notification settings status
A user can turn on/off push notifications for offline messages in a dialog. The default value is ON.
By default, when a user is offline and other user sent a message to them, they receive a push notification.
It is possible to disable this feature. Available only for dialogs type=2
(GROUP) and type=3
(PRIVATE).
enabled=0
, enabled=1
. ApiKey {your_api_key}
. Must be used either QB-Token or Authorization.Update dialog notification settings for current user.
Update Notification Settings with API key
1. Use 'Authorization' header to pass API key
2. Use 'On-Behalf-Of' header to pass user_id
To execute a request on behalf of a specific user.
3. Set settings
“enabled”: 0 - turn off the push notifications for specified dialog
“enabled”: 1 - turn off the push notifications for specified dialog
4. Set dialog ID
Specify the ID of the dialog whose setting status you want to update.
5. As result, the API returns updated notification settings status
A user can turn on/off push notifications for offline messages in a dialog. The default value is ON.
By default, when a user is offline and other user sent a message to them, they receive a push notification.
It is possible to disable this feature. Available only for dialogs type=2
(GROUP) and type=3
(PRIVATE).
enabled=0
, enabled=1
. ApiKey {your_api_key}
. Must be used either QB-Token or Authorization.