Skip to main content

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 ValueDescription
0Receive messages normally
1Reserved field
2Receive messages, but no offline push. When in a conversation, this conversation is not included in the total unread count.

OIMReceiveMessageOpt

Enum NameEnum Value
OIMReceiveMessageOptReceive0
OIMReceiveMessageOptNotReceive1
OIMReceiveMessageOptNotNotify2