sendFaceMessage method
Future<V2TimValueCallback<V2TimMessage> >
sendFaceMessage({
- required int index,
- required String data,
- required String receiver,
- required String groupID,
- int priority = 0,
- bool onlineUserOnly = false,
- bool isExcludedFromUnreadCount = false,
- Map<
String, dynamic> ? offlinePushInfo,
override
Implementation
@override
Future<V2TimValueCallback<V2TimMessage>> sendFaceMessage({
required int index,
required String data,
required String receiver,
required String groupID,
int priority = 0,
bool onlineUserOnly = false,
bool isExcludedFromUnreadCount = false,
Map<String, dynamic>? offlinePushInfo,
}) async {
Map<String, dynamic> param = {
"index": index,
"data": data,
"receiver": receiver,
"groupID": groupID,
"priority": priority,
"onlineUserOnly": onlineUserOnly,
"isExcludedFromUnreadCount": isExcludedFromUnreadCount,
"offlinePushInfo": offlinePushInfo,
};
var resp = V2TimValueCallback<V2TimMessage>.fromJson(
formatJson(
await _channel.invokeMethod(
'sendFaceMessage',
buildMessageMangerParam(
param,
),
),
),
);
log("sendFaceMessage", param, resp.toLogString());
return resp;
}