Custom telepot component

Working on a telegram component to wich you can send messages too.

Using the example from here:

I wonder whether I can just hook this up to the hass.loop event loop like in the example. Or should I be using some sort of helper method which I am not aware of…

Any advise appreciated !