upgrade sdk

This commit is contained in:
hrxiang
2021-09-14 17:33:19 +08:00
parent d11fdfa0f7
commit c53b119e60
12 changed files with 945 additions and 12 deletions

View File

@@ -4,6 +4,7 @@ import 'package:flutter_openim_sdk/flutter_openim_sdk.dart';
class ConversationInfo {
String conversationID;
/// [ConversationType]
int? conversationType;
String? userID;
String? groupID;
@@ -15,6 +16,8 @@ class ConversationInfo {
int? latestMsgSendTime;
String? draftText;
int? draftTimestamp;
/// pinned value is 1
dynamic isPinned;
ConversationInfo(
@@ -78,4 +81,6 @@ class ConversationInfo {
bool get isSingleChat => conversationType == ConversationType.single_chat;
bool get isGroupChat => conversationType == ConversationType.group_chat;
bool get isTop => isPinned == 1;
}