receiveMessages method

  1. @override
Future<String?> receiveMessages({
  1. required String conversationId,
})
override

Get messages from the specific conversation #

Implementation

@override
Future<String?> receiveMessages({required String conversationId}) async {
  final String? result = await methodChannel.invokeMethod<String>(
      'receiveMessages', {
    "conversationId": conversationId,
  });
  return result ?? "";
}