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
Read-Only Room?

i have a doubt , suppose bot create a chat room and adds members into it . After the work process is done i dont want the members to write anything into the chat just view the messages ..... so can i revoke the write access of the members added or like freezing the write access to all the members in the chat room , is this possible ?

  
  
Posted 3 years ago
Votes Newest

Answers


When you create a room, you can set the room to read-only. In that case, only room owners can send messages in that room, but this property cannot be changed after the room is created.

// Java BDK Example
V3RoomAttributes attributes = new V3RoomAttributes()
    .name("My Room")
    .readOnly(true);
bdk.streams().create(attributes);

If you need those members to send messages, you will have to promote them to owners then revoke that later. However, at any point of time in between, they can possibly mess with your workflow by kicking the bot out of the room etc.

  
  
Posted 3 years ago
Edited 3 years ago
Yong Sheng Tan
39 × 2 Administrator
3K Views
1 Answer
3 years ago
2 years ago
Tags