Optional
afterOptional
aroundThe ID of the message to purge around.
Optional
beforeThe ID of the message to purge before.
The limit of messages to purge.
Optional
reasonThe reason for purging the messages.
Optional
filterA function used to reject certain messages. If "break"
is returned, further iteration of messages will stop and purging will begin immediately.
The message to filter.
The ID of the message to purge after.