getMessageReactions method
Future<V2TimValueCallback<List<V2TimMessageReactionResult> > >
getMessageReactions({
- required List<
String> msgIDList, - required int maxUserCountPerReaction,
- List<
String> ? webMessageInstanceList,
override
Implementation
@override
Future<V2TimValueCallback<List<V2TimMessageReactionResult>>> getMessageReactions({
required List<String> msgIDList,
required int maxUserCountPerReaction,
List<String>? webMessageInstanceList,
}) async {
Map<String, dynamic> param = {
"msgIDList": msgIDList,
"maxUserCountPerReaction": maxUserCountPerReaction,
};
var resp = V2TimValueCallback<List<V2TimMessageReactionResult>>.fromJson(
formatJson(
await _channel.invokeMethod(
"getMessageReactions",
buildMessageMangerParam(
param,
),
),
),
);
log("getMessageReactions", param, resp.toLogString());
return resp;
}