Categories
How to read the contents of a TXT file using a Telegram bot?
There is a NodeJS bot, the user must send a TXT file, and the bot must read the content and display the result, tell me how to implement this using Telegraf
Answer the question
In order to leave comments, you need to log in
Get a download link via api, download the file in some way and read it using the . And then do whatever you want with the data.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question