Interface MessagingLimits.Builder

  • Method Details

    • rateLimits

      MessagingLimits.Builder rateLimits(Map<String,Long> rateLimits)

      The maximum send rate for each supported capability, in messages per second. The map is keyed by capability, such as SMS, MMS, VOICE, or RCS.

      Parameters:
      rateLimits - The maximum send rate for each supported capability, in messages per second. The map is keyed by capability, such as SMS, MMS, VOICE, or RCS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dailyMessageCaps

      MessagingLimits.Builder dailyMessageCaps(Map<String,Long> dailyMessageCaps)

      The advisory maximum number of messages that can be sent per day, keyed by provider (for example, T-MOBILE). Applies to 10DLC phone numbers and is omitted when no daily cap applies.

      Parameters:
      dailyMessageCaps - The advisory maximum number of messages that can be sent per day, keyed by provider (for example, T-MOBILE). Applies to 10DLC phone numbers and is omitted when no daily cap applies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.