interface RCIMIWCommandMessage {
    conversationType?: RCIMIWConversationType;
    messageType?: RCIMIWMessageType;
    targetId?: string;
    channelId?: string;
    messageId?: number;
    messageUId?: string;
    offLine?: boolean;
    groupReadReceiptInfo?: RCIMIWGroupReadReceiptInfo;
    receivedTime?: number;
    sentTime?: number;
    receivedStatus?: RCIMIWReceivedStatus;
    sentStatus?: RCIMIWSentStatus;
    senderUserId?: string;
    direction?: RCIMIWMessageDirection;
    userInfo?: RCIMIWUserInfo;
    mentionedInfo?: RCIMIWMentionedInfo;
    pushOptions?: RCIMIWMessagePushOptions;
    extra?: string;
    expansion?: { [propName: string]: string };
    name?: string;
    data?: string;
}

Hierarchy (View Summary, Expand)

Properties

conversationType?: RCIMIWConversationType

会话类型

messageType?: RCIMIWMessageType

消息的类型

targetId?: string

会话 ID

channelId?: string

所属会话的业务标识,长度限制 20 字符

messageId?: number

本地数据库中存储的消息的唯一 ID 值。发送新消息时无需指定该 ID,否则会导致消息入库失败。在失败重发消息时,可以填入已入库的消息的 ID,请确保使用上一次发送失败的消息实例。

messageUId?: string

服务器消息唯一 ID(在同一个 Appkey 下全局唯一)

offLine?: boolean

是否是离线消息,只在接收消息的回调方法中有效,如果消息为离线消息,则为 YES ,其他情况均为 NO

groupReadReceiptInfo?: RCIMIWGroupReadReceiptInfo

群阅读回执状态

receivedTime?: number

消息的接收时间(Unix 时间戳、毫秒)

sentTime?: number

消息的发送时间(Unix 时间戳、毫秒)

receivedStatus?: RCIMIWReceivedStatus

消息的接收状态

sentStatus?: RCIMIWSentStatus

消息的发送状态

senderUserId?: string

消息的发送者 ID

消息的方向

userInfo?: RCIMIWUserInfo

消息携带的用户信息

mentionedInfo?: RCIMIWMentionedInfo

消息的 @ 信息

消息推送配置

extra?: string

消息的附加字段

expansion?: { [propName: string]: string }

消息扩展信息列表,该属性在消息发送时确定,发送之后不能再做修改 扩展信息只支持单聊和群组,其它会话类型不能设置扩展信息 默认消息扩展字典 key 长度不超过 32 ,value 长度不超过 4096 ,单次设置扩展数量最大为 20,消息的扩展总数不能超过 300

name?: string

命令的名称

data?: string

命令的扩展数据,可以为任意字符串,如存放您定义的json数据。

MMNEPVFCICPMFPCPTTAAATR