Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Sending messages to chatrooms that are subscribed to my bot

Can a headless bot get the list of chatrooms that it is in and send messages to those chatrooms?

Thanks

  
  
Posted one year ago
Votes Newest

Answers


Hi Won,

Thank you for your question,

As headless bots are designed to perform execution of scripts on a scheduled basis or after a triggered event from an external system - you may need to review the scenario on how you plan on construct and use the headless bot.

If you plan on send messages by the headless bot to provide information to the chatrooms which the headless bot is already a member of - then you can use the following REST API endpoint (https://developers.symphony.com/restapi/reference/list-user-streams) to firstly obtain the list of 'StreamID' and then sending the message to those chatrooms.

Please let us know if you have any further questions.
Kind regards
Kaosar

  
  
Posted one year ago
Kaosar Ahmed
310 × 3 Administrator
1K Views
1 Answer
one year ago
one year ago
Tags