Using ESP32 to control +20 ESP32 devices. (accept inputs and toggle leds)

How do I communicate between multiple ESP32 devices without using ESPNOW. I do not understand the code needed to share data from any number of esp32 devices to one esp32 master. Any help will be appreciated I am new to using ESP32!