inviteInGroup method
Future<V2TimValueCallback<String> >
inviteInGroup({
- required String groupID,
- required List<
String> inviteeList, - required String data,
- int timeout = 30,
- bool onlineUserOnly = false,
override
Implementation
@override
Future<V2TimValueCallback<String>> inviteInGroup({
required String groupID,
required List<String> inviteeList,
required String data,
int timeout = 30,
bool onlineUserOnly = false,
}) async {
Map<String, dynamic> param = {"groupID": groupID, "inviteeList": inviteeList, "data": data, "timeout": timeout, "onlineUserOnly": onlineUserOnly};
var resp = V2TimValueCallback<String>.fromJson(
formatJson(
await _channel.invokeMethod(
"inviteInGroup",
buildSignalingManagerParam(
param,
),
),
),
);
log("inviteInGroup", param, resp.toLogString());
return resp;
}