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.
A database left accessible to anyone online contained billions of records, including sensitive personal data that criminals appear to have not yet exploited.