Update Room
An error will be returned if no attributes are changed or if one attribute cannot be changed, based on the Attributes rules listed below.
🚧 Attributes rules
The room attributes associated with the room type are all read-only and cannot be changed:
public
,crossPod
,multiLateral
copyProtected
: Once set totrue
, cannot be set tofalse
. Copy protection can be added to a room but cannot be removed.discoverable
: This attribute cannot be true forcrossPod
rooms, and cannot be false forpublic
rooms.membersCanInvite
This attribute cannot be false forpublic
rooms.viewHistory:
This attribute can be changed only if the calling user is a room owner; or if the calling user has the entitlement "Can Toggle Room's Share History Property".subType
: This attribute is deprecated and cannot be changed.
📘 Note - Pinned message
The pinnedMessageId
attribute allows to display an exact copy of the original message in a pinned area placed beneath the chat header and that remains always visible to all users. From this area, they can interact with the message content (i.e. forms or ui actions buttons), and they are able to automatically jump to the original message in the chat canvas. You can use this attribute as follows:
Either by entering the URLSafe Base 64 ID of the message you wish to pin beneath the chat header (as you can see in the example). Even if another message is pinned, this new message will replace it in the pinned area;
Either by entering an empty value to upin any message and remove therefore this area from being visible to users as follows: "pinnedMessageId": "";
Please note that these actions (pin/unpin) can also be performed by end users when they are owners of the room.
📘 Note - Groups
The groups
object is added in the response payload only if at least a Group has been added to the room. It is an array containing:
id
attribute: ID of the Group,addedBy
: ID of the user who added the Group to the room
See Groups for more information.
🚧 Required Permissions
Rooms can only be updated by owners of the room. See Bot Permissions for a list of roles and associated privileges.
📘 Stream ID
The stream ID can be located in the Symphony web or desktop client by clicking on the timestamp of any message in the conversation. This will open the Message Status module overlay, and the Conversation ID can be found in the overlay footer.
The stream ID in the UI is in Standard Base64 encoding. When the stream ID needs to be used in a URL, it should be in URLSafe Base64 encoding. To obtain the URLSafe Base64 stream ID, replace forward slashes with underscores, replace pluses with minuses, and ignore any trailing equal signs.
Note: visit Overview of streams for more information.
Last updated