updateMySession method Null safety
- String sessionId,
- NIMSessionType sessionType,
- String ext
【Conversation Service】Update a conversation by setting the extension field; if the conversation to be updated does not exist, it will be created and the created one has no lastMsg.
[sessionId] For one-to-one chats, the format is p2p|accid; for group chats, team|tid; for super group chats, super_team|tid
[ext] The conversation's extension field, only visible to the current user
Implementation
Future<NIMResult<void>> updateMySession(
String sessionId, NIMSessionType sessionType, String ext) {
return _platform.updateMySession(sessionId, sessionType, ext);
}