ack
Acknowledges a message in the specified queue with the given ID by performing a delete operation.
Return
A Result containing true if the operation was successful, or false otherwise.
Parameters
queue
The name of the queue containing the message to be acknowledged.
id
The unique identifier of the message to be acknowledged.
Acknowledges the provided list of message IDs for the specified queue.
Return
A Result containing the list of successfully acknowledged message IDs.
Parameters
queue
The name of the queue where the messages are acknowledged.
ids
A list of message IDs to acknowledge within the given queue.