getMessageReactions method

  1. @override
Future<V2TimValueCallback<List<V2TimMessageReactionResult>>> getMessageReactions({
  1. required List<String> msgIDList,
  2. required int maxUserCountPerReaction,
  3. List<String>? webMessageInstanceList,
})
override

Implementation

@override
Future<V2TimValueCallback<List<V2TimMessageReactionResult>>> getMessageReactions({
  required List<String> msgIDList,
  required int maxUserCountPerReaction,
  List<String>? webMessageInstanceList,
}) async {
  return V2TimValueCallback<List<V2TimMessageReactionResult>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "getMessageReactions",
        buildMessageMangerParam(
          {
            "msgIDList": msgIDList,
            "maxUserCountPerReaction": maxUserCountPerReaction,
          },
        ),
      ),
    ),
  );
}