update
This commit is contained in:
parent
bf354c4103
commit
a9343bf892
@ -3,6 +3,7 @@ library flutter_openim_sdk;
|
||||
export 'src/enum/conversation_type.dart';
|
||||
export 'src/enum/group_at_type.dart';
|
||||
export 'src/enum/group_role_level.dart';
|
||||
export 'src/enum/group_type.dart';
|
||||
export 'src/enum/group_verification.dart';
|
||||
export 'src/enum/im_platform.dart';
|
||||
export 'src/enum/listener_type.dart';
|
||||
|
8
lib/src/enum/group_type.dart
Normal file
8
lib/src/enum/group_type.dart
Normal file
@ -0,0 +1,8 @@
|
||||
/// 组类型
|
||||
class GroupType {
|
||||
/// 普通群
|
||||
static const int general = 0;
|
||||
|
||||
/// 工作群
|
||||
static const int work = 2;
|
||||
}
|
@ -157,9 +157,9 @@ class GroupManager {
|
||||
/// [notification] 公告
|
||||
/// [introduction] 群介绍
|
||||
/// [faceUrl] 群头像
|
||||
/// [groupType] 组类型
|
||||
/// [groupType] 组类型 [GroupType]
|
||||
/// [ex] 额外信息
|
||||
/// [list] 初创群成员以及其角色列表,角色参考[GroupRoleLevel]类
|
||||
/// [list] 初创群成员以及其角色列表[GroupMemberRole]
|
||||
Future<GroupInfo> createGroup({
|
||||
String? groupName,
|
||||
String? notification,
|
||||
@ -481,7 +481,7 @@ class GroupManager {
|
||||
.then((value) =>
|
||||
Utils.toList(value, (map) => GroupMembersInfo.fromJson(map)));
|
||||
|
||||
/// 设置群成员权限
|
||||
/// 进群验证设置
|
||||
/// [groupID] 群ID
|
||||
/// [needVerification] 进群设置,参考[GroupVerification]类
|
||||
Future<dynamic> setGroupVerification({
|
||||
|
Loading…
x
Reference in New Issue
Block a user