RecvMsgOpt
info
In the globalRecvMsgOpt of User Info, it globally controls whether to receive offline pushes.
In the recvMsgOpt of a Conversation, in addition to controlling whether to receive offline pushes for that conversation, it also controls whether the unread count of that conversation is included in the total unread count.
Conversation Message Receive Options
| Enum Value | Description |
|---|---|
| 0 | Receive messages normally |
| 1 | Reserved field |
| 2 | Receive messages, but no offline push. When in a conversation, this conversation is not included in the total unread count. |
- iOS
- Android
- Flutter
- uni-app
- Browser/Electron/MiniProgram
- React-Native
- Unity
ReceiveMessageOpt
| Enum Name | Enum Value |
|---|---|
| receive | 0 |
| notReceive | 1 |
| notNotify | 2 |
OIMReceiveMessageOpt
| Enum Name | Enum Value |
|---|---|
| OIMReceiveMessageOptReceive | 0 |
| OIMReceiveMessageOptNotReceive | 1 |
| OIMReceiveMessageOptNotNotify | 2 |
Opt
| Enum Name | Enum Value |
|---|---|
| NORMAL | 0 |
| NotReceiveMessage | 1 |
| ReceiveNotNotifyMessage | 2 |
MessageReceiveOptType
| Enum Name | Enum Value |
|---|---|
| Nomal | 0 |
| NotReceive | 1 |
| NotNotify | 2 |
MessageReceiveOptType
| Enum Name | Enum Value |
|---|---|
| Nomal | 0 |
| NotReceive | 1 |
| NotNotify | 2 |
MessageReceiveOptType
| Enum Name | Enum Value |
|---|---|
| Nomal | 0 |
| NotReceive | 1 |
| NotNotify | 2 |
MessageReceiveOptType
| Enum Name | Enum Value |
|---|---|
| Nomal | 0 |
| NotReceive | 1 |
| NotNotify | 2 |