title: How to write this query in Sequelize And Mysql
body: <p>I can not figure it out how to write this type of query in Sequelize.</p>
  
  <p><code>SELECT * FROM messages WHERE (senderId=324 AND receiverId=340) OR (receiverId=324 AND senderId = 340) AND documentSetId=585;</code></p>