I've written a blog post on how to do it here - https://shashwatv.com/parse-audio-to-ogg-opus-telegram/