Error with getMessagesBefore()
Error with getMessagesBefore() when called; Below is the error stack
/MethodChannel#twilio_programmable_chat(25085): Failed to handle method call E/MethodChannel#twilio_programmable_chat(25085): java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long E/MethodChannel#twilio_programmable_chat(25085): at twilio.flutter.twilio_programmable_chat.methods.MessagesMethods.getMessagesBefore(MessagesMethods.kt:133) E/MethodChannel#twilio_programmable_chat(25085): at twilio.flutter.twilio_programmable_chat.PluginHandler.onMethodCall(PluginHandler.kt:79) E/MethodChannel#twilio_programmable_chat(25085): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233) E/MethodChannel#twilio_programmable_chat(25085): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85) E/MethodChannel#twilio_programmable_chat(25085): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:818) E/MethodChannel#twilio_programmable_chat(25085): at android.os.MessageQueue.nativePollOnce(Native Method) E/MethodChannel#twilio_programmable_chat(25085): at android.os.MessageQueue.next(MessageQueue.java:336) E/MethodChannel#twilio_programmable_chat(25085): at android.os.Looper.loop(Looper.java:181) E/MethodChannel#twilio_programmable_chat(25085): at android.app.ActivityThread.main(ActivityThread.java:7560)