Interface LastMessagesTargetSelector.Builder

Enclosing class:
LastMessagesTargetSelector

public static interface LastMessagesTargetSelector.Builder
Builder helper class.
  • Method Details

    • lastMessages

      LastMessagesTargetSelector lastMessages(@Nonnull Integer lastMessages)
      Set the lastMessages of this LastMessagesTargetSelector instance.
      Parameters:
      lastMessages - Number of messages from the end of the combined message list to include in filtering. Must be >= 1 (0 is not allowed and returns 400 Bad Request). If specified value is larger than the combined message list length, all messages are filtered.
      Returns:
      The LastMessagesTargetSelector instance.