| Constructor and Description |
|---|
Builder()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Message.Builder |
attachments(com.google.gson.JsonObject attachments)
Adds attachments to build message with.
|
Message.Builder |
body(com.google.gson.JsonObject body)
Adds a body to build message with.
|
Message |
build()
Builds a
Message instance and returns it. |
public Message.Builder body(com.google.gson.JsonObject body)
body - body for the messagepublic Message.Builder attachments(com.google.gson.JsonObject attachments)
attachments - attachments for the message