pinGroupMessage method
Implementation
@override
Future<V2TimCallback> pinGroupMessage({
required String msgID,
required String groupID,
required bool isPinned,
}) async {
Map<String, dynamic> param = {
"msgID": msgID,
"groupID": groupID,
"isPinned": isPinned,
};
var resp = V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"pinGroupMessage",
buildMessageMangerParam(
param,
),
),
),
);
log("pinGroupMessage", param, resp.toLogString());
return resp;
}