queryMySession method

Future<NIMResult<RecentSession>> queryMySession(
  1. String sessionId,
  2. NIMSessionType sessionType
)

【会话服务】获取某一个会话

[sessionId] 分为p2p/team/superTeam,格式分别是:p2p|accid、team|tid、super_team|tid

Implementation

Future<NIMResult<RecentSession>> queryMySession(
    String sessionId, NIMSessionType sessionType) {
  return _platform.queryMySession(sessionId, sessionType);
}