addMessageReaction method

  1. @override
Future<V2TimCallback> addMessageReaction({
  1. required String msgID,
  2. required String reactionID,
})
override

Implementation

@override
Future<V2TimCallback> addMessageReaction({
  required String msgID,
  required String reactionID,
}) async {
  return V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "addMessageReaction",
        buildMessageMangerParam(
          {
            "msgID": msgID,
            "reactionID": reactionID,
          },
        ),
      ),
    ),
  );
}