Package com.intercom.api.types
Class CreateMessageRequest.Inapp.Builder
java.lang.Object
com.intercom.api.types.CreateMessageRequest.Inapp.Builder
- All Implemented Interfaces:
CreateMessageRequest.Inapp._FinalStage,CreateMessageRequest.Inapp.BodyStage,CreateMessageRequest.Inapp.FromStage,CreateMessageRequest.Inapp.ToStage
- Enclosing class:
CreateMessageRequest.Inapp
public static final class CreateMessageRequest.Inapp.Builder
extends Object
implements CreateMessageRequest.Inapp.BodyStage, CreateMessageRequest.Inapp.FromStage, CreateMessageRequest.Inapp.ToStage, CreateMessageRequest.Inapp._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionThe content of the message.build()createConversationWithoutContactReply(Boolean createConversationWithoutContactReply) Whether a conversation should be opened in the inbox for the message without the contact replying.createConversationWithoutContactReply(Optional<Boolean> createConversationWithoutContactReply) The time the message was created.from(CreateMessageRequest.Inapp other) The sender of the message.The title of the email.The style of the outgoing message.The sender of the message.
-
Method Details
-
from
- Specified by:
fromin interfaceCreateMessageRequest.Inapp.BodyStage
-
body
The content of the message. HTML and plaintext are supported.
- Specified by:
bodyin interfaceCreateMessageRequest.Inapp.BodyStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
from
The sender of the message. If not provided, the default sender will be used.
- Specified by:
fromin interfaceCreateMessageRequest.Inapp.FromStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
to
The sender of the message. If not provided, the default sender will be used.
- Specified by:
toin interfaceCreateMessageRequest.Inapp.ToStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createConversationWithoutContactReply
public CreateMessageRequest.Inapp._FinalStage createConversationWithoutContactReply(Boolean createConversationWithoutContactReply) Whether a conversation should be opened in the inbox for the message without the contact replying. Defaults to false if not provided.
- Specified by:
createConversationWithoutContactReplyin interfaceCreateMessageRequest.Inapp._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createConversationWithoutContactReply
public CreateMessageRequest.Inapp._FinalStage createConversationWithoutContactReply(Optional<Boolean> createConversationWithoutContactReply) - Specified by:
createConversationWithoutContactReplyin interfaceCreateMessageRequest.Inapp._FinalStage
-
createdAt
The time the message was created. If not provided, the current time will be used.
- Specified by:
createdAtin interfaceCreateMessageRequest.Inapp._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
- Specified by:
createdAtin interfaceCreateMessageRequest.Inapp._FinalStage
-
template
The style of the outgoing message. Possible values
plainorpersonal.- Specified by:
templatein interfaceCreateMessageRequest.Inapp._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
template
- Specified by:
templatein interfaceCreateMessageRequest.Inapp._FinalStage
-
subject
The title of the email.
- Specified by:
subjectin interfaceCreateMessageRequest.Inapp._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
subject
- Specified by:
subjectin interfaceCreateMessageRequest.Inapp._FinalStage
-
build
- Specified by:
buildin interfaceCreateMessageRequest.Inapp._FinalStage
-