Class AppLimits


  • public final class AppLimits
    extends java.lang.Object
    • Method Detail

      • daily

        public java.util.Optional<java.lang.Integer> daily()
        Returns:
        The maximum number of messages that the campaign can send daily.
      • maximumDuration

        public java.util.Optional<java.lang.Integer> maximumDuration()
        Returns:
        The length of time (in seconds) that the campaign can run before it ends and message deliveries stop. This duration begins at the scheduled start time for the campaign. The minimum value is 60.
      • messagesPerSecond

        public java.util.Optional<java.lang.Integer> messagesPerSecond()
        Returns:
        The number of messages that the campaign can send per second. The minimum value is 50, and the maximum is 20000.
      • total

        public java.util.Optional<java.lang.Integer> total()
        Returns:
        The maximum total number of messages that the campaign can send.