add group fuc
This commit is contained in:
4
lib/src/enum/conversation_type.dart
Normal file
4
lib/src/enum/conversation_type.dart
Normal file
@@ -0,0 +1,4 @@
|
||||
class ConversationType{
|
||||
static const int single_chat = 1;
|
||||
static const int group_chat = 2;
|
||||
}
|
||||
5
lib/src/enum/group_role.dart
Normal file
5
lib/src/enum/group_role.dart
Normal file
@@ -0,0 +1,5 @@
|
||||
class GroupRole {
|
||||
static const member = 0;
|
||||
static const owner = 1;
|
||||
static const admin = 2;
|
||||
}
|
||||
@@ -15,4 +15,6 @@ class MessageType {
|
||||
static const file = 105;
|
||||
|
||||
static const accept_friend = 201;
|
||||
|
||||
static const create_group = 502;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user