ack_all_pending_messages_async


Description:

[ Version ( since = "0.15.3" ) ]
public async bool ack_all_pending_messages_async () throws Error

Acknowledge all the pending messages.

This is equivalent of calling ack_messages_async with the list of SignalledMessage returned by dup_pending_messages.

Once the messages have been acked, callback will be called. You can then call ack_all_pending_messages_async.end to get the result of the operation.

See ack_message_async about acknowledging messages.

Parameters:

this

a TextChannel

callback

a callback to call when the messages have been acked

user_data

data to pass to callback