Interface MediaBody


public interface MediaBody
The message content, including a URL to the media file
  • Method Details

    • getSubject

      String getSubject()
      The subject text
      Returns:
      subject
    • getMessage

      String getMessage()
      The message text. Text only media messages will be rejected, please use SMS instead.
      Returns:
      message
    • getUrl

      String getUrl()
      URL to the media file

      Field is required

      Returns:
      url
    • builder

      static MediaBody.Builder builder()
      Getting builder
      Returns:
      New Builder instance