See Message.onMessageLongPress.
final void Function(BuildContext context, types.Message)? onMessageLongPress;