Invalid conversion from 'const char' to 'uint8_t*'
In ESP32 Arduino package the WiFiUdp.h doesn't pull in all Print class write functions. As consequence the WiFiUdp class doesn't know write(const char *str).

Use Udp.print(message); if message is a zero-terminated char array

or Udp.write(message, size); if message is a byte array