Please find the document here:
​https://developer.rocket.chat/guides/developer/iframe-integration​
​