I am trying to reload the app background in the conversation_user_info location in the Inbox of Freshchat. I need this in order to display periodic updates from the messages in the conversation. Could you let me know how this could be done?
Can you please elaborate more on reloading app background? Does this mean having to have app.activated() invoked with having the user to refresh the Freshchat Inbox page?
Does periodic mean every 5 min or 10 min like that? Or Does it depend on the changes in the conversations in current Inbox page?
The user is not expected to manually reload the page. Essentially, I am building an app to translate the end-user’s message to English as soon as the message is received and would like the translated message to be displayed in the conversation_user_info section. The suggestion for this is using "window.parent.location.reload()’. However this results in a cross-origin error Uncaught DOMException: Blocked a frame with origin “https:///…” from accessing a cross-origin frame
Thus, I would like to reload the app background whenever any message is received/change is detected in the conversations in the Inbox or any message channel in order to automatically display the translated message in the app background.