Interface MediaBody
public interface MediaBody
The message content, including a URL to the media file
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic MediaBody.Builderbuilder()Getting builderThe message text.The subject textgetUrl()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 fileField is required
- Returns:
- url
-
builder
Getting builder- Returns:
- New Builder instance
-