In a world where a lot of note-taking tools (and their respective web clippers) aren't open source, like Notion and Evernote, ...
Before getting started with telegram-files, you should apply a telegram api id and hash. You can apply for it on the Telegram API page.