cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
353
Views
0
Helpful
2
Replies

updating message after it has been posted to a space (not edit)

ankalyan
Cisco Employee
Cisco Employee

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!

 

2 Replies 2

ankalyan
Cisco Employee
Cisco Employee

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!

dtibbe
VIP
VIP

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.