# Interface SyncConversationReadStatusListener

同步会话已读状态监听

#### Version

1.2.0

interface SyncConversationReadStatusListener {
onSyncConversationReadStatus(
conId: ConversationIdentifier,
timestamp: number,
): void;
}

- Defined in conversation/listener/SyncConversationReadStatusListener.ts:7

##### Index

### Methods

onSyncConversationReadStatus

## Methods

### onSyncConversationReadStatus

- onSyncConversationReadStatus(
  conId: ConversationIdentifier,
  timestamp: number,
  ): void

  会话已读

  #### Parameters

  - conId: ConversationIdentifier

    会话标识

  - timestamp: number

    已读的毫秒时间戳，该时间戳前的消息已读

  #### Returns void

  #### Discussion

  该监听触发时，本地数据库的该会话的该时间戳之前未读已清空

  - Defined in conversation/listener/SyncConversationReadStatusListener.ts:14