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")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, 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
Adding bot into chat rooms

1.What is the best method to add a bot created according to SDK into multiple chat rooms where each room has different admin. Please provide a solution other than manually adding the bot into the room.

2.What is the best method to send a message into these rooms using bot (if using streamID/roomid of each room then how do we get stream/room Id for each different rooms that the bot is being added into).

Posted one month ago
Edited 4 days ago

could anybody answer this question please really wanted a solution. stuck because of this situtation.

kunaal bokadia   one month ago Report

Say bot receives a request to send message into a chatroom &its not a member of that chat room. 1Then our first aim should find the stream Id of the room and using roominfo find if it is private or public
2Once the chat room is public,after all perimision and approvals the bot is now acting as OBO for the admin and then add itself into the group chat
3then Create message and send via bot into the chat room.
hope this is the method that you send to add the bot into room.
Now ny question how to search room name and get is respective stream Id , find admin then how to assign permission to ...

kunaal bokadia   one month ago Report
Votes Newest


1 Answer
one month ago
4 days ago