Using this for your telegram account you'll be able to edit your message with simple latex: greek variables and some symbols, superscripts and subscripts. It's not very complete yet.
Just follow any instruction as for pyrogram.Client example but use Bot for it instead. Since it uses some web-scraping (read the changelog for further informations) with pyrogram you need requests and bs4 packages too.