Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IReceivedConversationByTag

Hierarchy

Index

Properties

Optional channelId

channelId?: string

会话的业务标识

conversationType

conversationType: ConversationType

会话类型

targetId

targetId: string

会话 Id

description
  1. conversationTypeConversationType.GROUP 时,该值为群组 Id
  2. conversationTypeConversationType.PRIVATE 时,该值为对方用户 Id

unreadMessageCount

unreadMessageCount: number

当前会话的未读消息数

latestMessage

latestMessage: null | IReceivedMessage

会话中的最后一条消息

Optional hasMentioned

hasMentioned?: boolean

是否包含 @ 自己的消息,此数据仅在 conversationTypeConversationType.GROUP 时有效

Optional mentionedInfo

mentionedInfo?: null | MentionedInfoBody

消息中的 @ 数据,仅在 conversationTypeConversationType.GROUP 时有效

notificationStatus

notificationStatus: NotificationStatus

会话免打扰状态

description
  1. 已开启免打扰
  2. 未开启免打扰

Optional notificationLevel

notificationLevel?: NotificationLevel

会话免打扰状态

isTop

isTop: boolean

会话是否已置顶

lastUnreadTime

lastUnreadTime: number

会话中消息的最后未读时间

Optional matchCount

matchCount?: number

搜索到的会话数量

Optional versionTime

versionTime?: number

会话项变更时间戳

Optional unreadMentionedCount

unreadMentionedCount?: number

Optional unreadMentionedMeCount

unreadMentionedMeCount?: number

@ 我的未读消息数 仅超级群支持

since

5.7.9

Optional operationTime

operationTime?: number

会话操作时间,暂仅 Electron 平台支持

Optional draft

draft?: string

会话草稿

isTopInTag

isTopInTag: boolean