“supposed to handle” is a very broad and elastic term when applied to Chinese stuff like that
It won’t kill you, that’s for sure, it’s only 24V. But it could short circuit, so make sure your upstream transformer can handle that. Although unlikely, even 24V can start a fire. At least put a fuse in the circuit. But most probably it’s just going to stop working after a while, as these kind of cheap things are not rated for a high amount of switching operations before they suffer internal mechanical failure.
Not sure about how short you expect the bell press to be, but an ESP can easily sample in in the multi-kHz region. Alternatively you could also use an interrupt, which will trigger at the first signal change without you having to poll the pin.