Class UpdateSmsBatchBinaryRequest

    • Constructor Detail

      • UpdateSmsBatchBinaryRequest

        public UpdateSmsBatchBinaryRequest​(Collection<String> toAdd,
                                           Collection<String> toRemove,
                                           String from,
                                           String body,
                                           DeliveryReportType deliveryReport,
                                           Instant sendAt,
                                           Instant expireAt,
                                           String callbackUrl,
                                           String udh)
        Parameters:
        toAdd - List of phone numbers and group IDs to add to the batch.List of Phone numbers and group IDs that will receive the batch
        toRemove - List of phone numbers and group IDs to remove from the batch
        from - Sender number. Must be valid phone number, short code or alphanumeric. Required if Automatic Default Originator not configured.
        body - The message content
        deliveryReport - Request delivery report callback. Note that delivery reports can be fetched from the API regardless of this setting
        sendAt - If set in the future, the message will be delayed until send_at occurs. Must be before expire_at. If set in the past, messages will be sent immediately
        expireAt - If set, the system will stop trying to deliver the message at this point. Must be after send_at. Default and max is 3 days after send_at
        callbackUrl - Override the default callback URL for this batch. Must be valid URL.
        udh - The UDH header of a binary message HEX encoded. Max 140 bytes including the body.