[**RongIMLib**](../README.md) *** [RongIMLib](../globals.md) / IInsertMessage # Interface: IInsertMessage 插入消息结构 ## Properties ### conversationType > **conversationType**: `number` 会话类型 *** ### targetId > **targetId**: `string` 会话 ID *** ### channelId? > `optional` **channelId?**: `string` 频道 ID *** ### messageDirection > **messageDirection**: `number` 消息方向 *** ### messageType > **messageType**: `string` 消息类型 *** ### content > **content**: `any` 消息内容 *** ### messageUId > **messageUId**: `string` 消息 ID *** ### senderUserId > **senderUserId**: `string` 发送者 ID *** ### sentStatus? > `optional` **sentStatus?**: `number` 发送状态 *** ### sentTime? > `optional` **sentTime?**: `number` 发送时间 *** ### disableNotification? > `optional` **disableNotification?**: `boolean` 是否存储 *** ### canIncludeExpansion? > `optional` **canIncludeExpansion?**: `boolean` 是否计数 *** ### expansion? > `optional` **expansion?**: `object` 消息扩展 #### Index Signature \[`key`: `string`\]: `any` *** ### receivedStatus? > `optional` **receivedStatus?**: `number` 接收状态 *** ### receivedStatusInfo? > `optional` **receivedStatusInfo?**: [`IReceivedStatusInfo`](IReceivedStatusInfo.md) 接收状态详情 *** ### directedUserIds? > `optional` **directedUserIds?**: `string`[] 定向用户列表 *** ### isUnread? > `optional` **isUnread?**: `boolean` 插入消息是否计入未读数:true 计数 false 不计数,默认不计数 *** ### searchContent? > `optional` **searchContent?**: `string` 消息搜索关键字 *** ### source? > `optional` **source?**: `string` 来源 *** ### isMentioned? > `optional` **isMentioned?**: `boolean` 是否 @ 消息 *** ### disableUpdateLastMessage? > `optional` **disableUpdateLastMessage?**: `boolean` 禁止更新到会话最新一条消息,默认 false: 更新,true: 不更新 *** ### quoteInfo? > `optional` **quoteInfo?**: [`IQuoteInfo`](IQuoteInfo.md) 消息引用信息 * #### Since 5.38.0