reSendMessage method

  1. @override
Future<V2TimValueCallback<V2TimMessage>> reSendMessage({
  1. required String msgID,
  2. bool onlineUserOnly = false,
  3. Object? webMessageInstatnce,
})
override

Implementation

@override
Future<V2TimValueCallback<V2TimMessage>> reSendMessage({required String msgID, bool onlineUserOnly = false, Object? webMessageInstatnce}) async {
  return V2TimValueCallback<V2TimMessage>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "reSendMessage",
        buildMessageMangerParam(
          {"msgID": msgID, "onlineUserOnly": onlineUserOnly, "webMessageInstatnce": webMessageInstatnce},
        ),
      ),
    ),
  );
}