deleteSession static method

void deleteSession(
  1. String sessionId,
  2. NIMSessionType sessionType,
  3. NIMSessionDeleteType deleteType,
  4. bool sendAck,
)

删除会话

Implementation

static void deleteSession(String sessionId, NIMSessionType sessionType,
    NIMSessionDeleteType deleteType, bool sendAck) {
  NimCore.instance.messageService.deleteSession(
      sessionInfo:
          NIMSessionInfo(sessionId: sessionId, sessionType: sessionType),
      deleteType: deleteType,
      sendAck: sendAck);
}