cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
296
Views
0
Helpful
1
Replies

search as bot message created by itself

slapierr
Cisco Employee
Cisco Employee

A bot can get messages from a room using mentionedPeople=me

I want to post a message to a room, from a bot, mentionning itself, in order to be able to search and retrieve those messages later.

How can I @mention the bot itself when posting?

1 Accepted Solution

Janos Benyovszki
Cisco Employee
Cisco Employee

@slapierr you can use the usual mention syntax with the bot to mention itself, like this:

{
"roomId" : "{{demo_room}}",
"markdown" : "We should get <@personId:BOT_PERSON_ID|Droid> to look at that right away."
}
For reference please see https://developer.webex.com/docs/basics#formatting-messages - Mentions .

View solution in original post

1 Reply 1

Janos Benyovszki
Cisco Employee
Cisco Employee

@slapierr you can use the usual mention syntax with the bot to mention itself, like this:

{
"roomId" : "{{demo_room}}",
"markdown" : "We should get <@personId:BOT_PERSON_ID|Droid> to look at that right away."
}
For reference please see https://developer.webex.com/docs/basics#formatting-messages - Mentions .