Don't have Telegram yet? Try it now!
https://techtutorialsx.com/2019/09/03/esp32-using-lambdas-as-wifi-event-handling-functions/
ESP32: using lambdas as WiFi event handling functions