Replica

Reorder Chat Queue

Moves a queued message to a new zero-based position.

patch/v1/replica/{id}/chats/{chatId}/queue/reorder

Request

  • Base URL
    https://api.tryreplicas.com
  • URL
    https://api.tryreplicas.com/v1/replica/{id}/chats/{chatId}/queue/reorder
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

The unique identifier of the replica

chatIdstring required

The unique identifier of the chat

Request body

messageIdstring required

Queued message ID.

positioninteger required

Zero-based target position.

Response

Queue reordered successfully

successboolean required

Whether the queue mutation changed the queue.

Changes

No recorded changes to this operation across all 1 revision of this API.