基础页面
This commit is contained in:
25
lib/models/im/custom_message_model.dart
Normal file
25
lib/models/im/custom_message_model.dart
Normal file
@@ -0,0 +1,25 @@
|
||||
abstract class CustomMessageModel {
|
||||
abstract String businessID;
|
||||
|
||||
String toJson();
|
||||
}
|
||||
|
||||
class CustomMessageType {
|
||||
// ignore: constant_identifier_names
|
||||
static const String NAME_CARD = 'name_card';
|
||||
// ignore: constant_identifier_names
|
||||
static const String GROUP_CARD = 'group_card';
|
||||
// ignore: constant_identifier_names
|
||||
static const String DT_TRANSFER = 'dt_transfer';
|
||||
// ignore: constant_identifier_names
|
||||
static const String TYPING_STATUS = 'user_typing_status';
|
||||
// ignore: constant_identifier_names
|
||||
static const String EVALUATION = 'evaluation';
|
||||
// ignore: constant_identifier_names
|
||||
static const String CALL = '1';
|
||||
}
|
||||
|
||||
class CallingType {
|
||||
static const String audioCall = 'audioCall';
|
||||
static const String videoCall = 'videoCall';
|
||||
}
|
||||
Reference in New Issue
Block a user