10-31-2022 11:19 AM
After a message has been posted to a space, (i.e. user typed message and hit enter) - is there a way for API to intervene and embellish the message to control how an app is going to display the message? A silly but illustrative example would be always highlight the word WebEx anytime a user types it. Perhaps this would be similar to how unfurl works - some info on that might be what we are looking for.
Cannot find a scope for updating the messages through integrations in https://developer.webex.com/docs/api/guides/integrations-and-authorization
Thanks!
10-31-2022 07:12 PM - edited 10-31-2022 07:13 PM
Actually the thought was to have all messages in a space processed like that i.e. something that is enabled for-each-space Wondering how unfurl works - is "detecting a url in the message and showing a handy preview" completely an application feature?
Thanks for the prompt response!
10-31-2022 11:29 AM
Nope, that is not possible. A message is posted to the space and after that, a webhook is triggered to notify you/whever that it has been posted.
Bad idea if only certian messages should be processed like that: having a bot running with a CO token. Add it to the space, @dm the bot for those messages. The bot will get notified via webhook, may re-post the same message with your applied formatting and finally delete the original one.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide