UniqKey of an element, up to 128 bytes.
Content of an element, up to 4096 bytes
Update multiple elements in a queue. If needNotify is set to true, all online users will receive the following notification. If needNotify is set to false, no users receive updates
Update multiple key-value pairs of elements. The key and value are represented with elementKey and elementValue. elementKey can contain up to 128 bytes, and elementValue 4096 bytes. A maximum of 100 key-value pairs can be updated at a time.
Whether a broadcast message is required for updates, optional. Default value: false If the value is set to true, notifyExt is also required.
Custom field in the notification. 2048 characters are allowed
callback for the result
Clear a queue. Only regular members of the chat room have permission to clear the queue. After the queue is cleared, all online users will receive the following notification:
Get the queue of a chat room queue
Add or update new elements in the queue. If elementKey already exists, update the element, otherwise insert a new element at the end of the queue. After the operation, all online users will receive the following notification message:
Optional, account to which an element belongs. By default, no argument is taken and the element belongs to the current user. Administrators can assign specified elements to other valid accounts.
UniqKey of a new element, up to 128 bytes
Content of a new element, up to 4096 bytes
Optional parameter, default value: false. Whether the element is deleted when when the user who submitted this new element is disconnected from the chat room or leaves the chat room.
callback for the result
Delete an element in the queue. After the operation, all online users will receive the following notification message:
The UniqKey of the element to be taken. If unspecified, the first element is taken.
callback for the result
UniqKey of an element, up to 128 bytes.
Content of an element, up to 4096 bytes
Get the first element of the queue. The return data is the third parameter of the callback