Would it be possible to add a parameter allowing the user to specify a custom method to determine whether messages are duplicated or not ? For example, the implementation of this method could ignore the title, the message, etc.