title: Telegram Bot with Telegraf.js - Send messages to chat
body: <p>I want to create a Telegram Bot with Node.js and I am using <a href="https://github.com/telegraf/telegraf" rel="noreferrer">Telegraf</a> for it. I know I can answer to messages like this:</p>
  
  <pre><code>app.hears('hi', (ctx) =&gt; ctx.reply('Hey there!'))
  </code></pre>
  
  <p>But how can I send a message without getting a message before? I want to read a file and always when the file got changed I want to send a message.</p>
  
  <pre><code>const Telegraf = require('telegraf');
  var fs = require('fs');
  
  const app = new Telegraf(process.env.BOT_TOKEN);
  
  var filePath = "C:\\path\\to\\my\\file.txt";
  
  fs.watchFile(filePath, function() {
      file = fs.readFileSync(filePath);
  
      // Send message to chat or group with the file content here
  
      console.log("File content at: " + new Date() + " is: \n" + file);
  })
  </code></pre>
  
  <p>Would be nice if someone can help me with it.</p>