Please find the document here:
​https://developer.rocket.chat/apps-development/slack-compatibility​