Skip to content

Commit ca5f7f9

Browse files
committed
feat: add send_business_notification
1 parent 8b075e2 commit ca5f7f9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/restapi/apis/messageManagement/send_business_notification.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hide_title: true
1111
</center>
1212

1313
### 简要描述
14-
- 根据业务需要,发送通知消息。
14+
- 业务服务发送自定义通知,客户端会收到OnRecvCustomBusinessMessage回调
1515
### 请求方式
1616
- `post`
1717
### 请求URL
@@ -47,7 +47,7 @@ hide_title: true
4747
|key|必填|string|根据业务分类,客户端可以通过改字段用不同方法处理`data`|
4848
|data|必填|string|业务数据|
4949
|sendMsg|选填|bool|是否已消息形式发送,默认: false|
50-
|reliabilityLevel|选填|int|通知消息的可靠基本,1: 在线推送。2: 必达通知(会在消息表中存储),默认: 1|
50+
|reliabilityLevel|选填|int|通知消息的可靠基本,1: 在线推送。2: 必达通知(断线重连或重新登录也会触发,用于必达的场景,该可靠性等级下,由于是顺序全量同步,建议不能发送过多,否则会影响客户端消息同步性能),默认: 1|
5151
### 成功返回示例
5252

5353

i18n/en/docusaurus-plugin-content-docs-restapi/current/apis/messageManagement/send_business_notification.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ hide_title: true
1111
</center>
1212

1313
### Brief Description
14-
- Send notification messages according to business needs.
14+
- The business service sends a custom notification, and the client receives the OnRecvCustomBusinessMessage callback
1515

1616
### Request Method
1717
- `post`
@@ -48,7 +48,7 @@ hide_title: true
4848
|key| Required |string|Depending on the business classification, the client can process `data` in different ways by changing the field|
4949
|data| Required |string|Business data|
5050
|sendMsg| Optional |bool|Whether to send as a message, default: false|
51-
|reliabilityLevel| Optional |int|The reliability of notification messages, 1: online push. 2: must-have notification (will be stored in the message table), default: 1|
51+
|reliabilityLevel| Optional |int|The reliability of notification messages is as follows: 1: Online push. 2: Must-reach notification (will also be triggered by disconnection and reconnection or re-login, used for scenarios where must-reach notifications are required. At this reliability level, since it is a sequential full synchronization, it is recommended not to send too many messages, otherwise it will affect the client message synchronization performance). Default: 1|
5252

5353

5454
### Success Response Example

0 commit comments

Comments
 (0)