sendTextMessage method
Future<V2TimValueCallback<V2TimMessage> >
sendTextMessage({
- required String text,
- required String receiver,
- required String groupID,
- String? id,
- int priority = 0,
- bool onlineUserOnly = false,
- bool isExcludedFromUnreadCount = false,
- Map<
String, dynamic> ? offlinePushInfo,
override
发送高级文本消息
Implementation
@override
///发送高级文本消息
Future<V2TimValueCallback<V2TimMessage>> sendTextMessage({
required String text,
required String receiver,
required String groupID,
String? id,
int priority = 0,
bool onlineUserOnly = false,
bool isExcludedFromUnreadCount = false,
Map<String, dynamic>? offlinePushInfo,
}) async {
return await _v2timMessageManager
.sendTextMessage<V2TimValueCallback<V2TimMessage>, V2TimMessage>({
"text": text,
"receiver": receiver,
"groupID": groupID,
"priority": priority,
"onlineUserOnly": onlineUserOnly,
"isExcludedFromUnreadCount": isExcludedFromUnreadCount,
"offlinePushInfo": offlinePushInfo
});
}