clearSessionUnreadCount static method

dynamic clearSessionUnreadCount(
  1. String account,
  2. NIMSessionType sessionType
)

清除当前会话的未读数

Implementation

static clearSessionUnreadCount(String account, NIMSessionType sessionType) {
  NimCore.instance.messageService.clearSessionUnreadCount(
      [NIMSessionInfo(sessionId: account, sessionType: sessionType)]);
}