Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25517

Mattermost integration within parent application

$
0
0

Good afternoon.

We would integrate Mattermost to our application using an iFrame, I would like to access the "contenWindow" of that iFrame, so I can interact with Mattermost "window" object directly from my application. Is there any JavaScript API which I can interact with or methods that I can run to trigger specific actions?, for instance if I want to open a chat room not mediated by a user action directly in the chat UI, but triggered by one of my Javascript methods, or to automatically sign-out or sign-in, to send a message to a specific chat room, or any other kind of UI interaction.

Does Mattermost has custom events that I can listen from our app JavaScript code?, for instance, I want to listen when a new message was sent to me, so I can run actions in our application UI, like putting some visual notifications inside a custom widget he have for all notifications in our system including messaging.

Thank you.


Viewing all articles
Browse latest Browse all 25517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>