So, to start off, Im developing an integration for my company in PHP. Its ben pretty successful so far and have only hit a couple of road blocks.
In my integration, my room user will type in a slash command, lets call that ‘/doit some stuff’, and my integration pulls his user info and the message, stores it in my DB, and returns a card to the room with whatever info should be on the card. This is all working flawlessly.
I have a web panel/right sidebar view with a list view of all the entries in that DB, from each time a user entered /doit
I want this web panel to refresh after that card is posted to the room (I’m posting the card to the room via curl to a notification URL) and I have not been able to do that.
I feel like I can keep checking the latest history in the room via JS and refresh the sidebar via js whenever I find a card, but then Im hitting the api server constantly.