title: Chat messages from Dialogflow don't appear in Slack
body: <p>I'm creating a bot with Dialogflow. It's quite straigtforward, and it worked on Telegram in no time. But things complicated when trying to integrate Dialogflow with Slack.</p>
  
  <p>My bot is able to read direct messages from Slack, and I'm sure of it because the messages from Slack appear in the <code>History</code> section of Dialogflow. Good news there. In the same screen, I can see that Dialogflow answered all the messages Slack sent to it. But sadly, those answers don't appear in Slack.</p>
  
  <p>By the way, just to confuse me more, the Dialogflow's test bot works flawlessly with Slack, publishing there with no issue. So, it's not anything related with the common values you have to copy from Slack and paste to Dialogflow to enable the integration.</p>
  
  <p>It seems that my bot on Slack misses some kind of permission of the <code>OAuth &amp; Permissions</code> screen, but I've tried some of theme, and I can't find the good one. Right now I'm using <code>bot</code>, <code>chat:write:bot</code>, <code>im:write</code>, and <code>channels:read</code>. I guess that only the two first ones are needed, but I'm totally lost and tried adding permissions with no reason. And then, I wrote this post.</p>
  
  <p>Is there someone who has a simple bot that sends messages in direct messages on Slack? What are the needed permissions?</p>