Package com.intercom.api.types
Class AdminReplyConversationRequest.Builder
java.lang.Object
com.intercom.api.types.AdminReplyConversationRequest.Builder
- All Implemented Interfaces:
AdminReplyConversationRequest._FinalStage,AdminReplyConversationRequest.AdminIdStage,AdminReplyConversationRequest.MessageTypeStage
- Enclosing class:
AdminReplyConversationRequest
public static final class AdminReplyConversationRequest.Builder
extends Object
implements AdminReplyConversationRequest.MessageTypeStage, AdminReplyConversationRequest.AdminIdStage, AdminReplyConversationRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionThe id of the admin who is authoring the comment.attachmentFiles(List<ConversationAttachmentFiles> attachmentFiles) A list of files that will be added as attachments.attachmentFiles(Optional<List<ConversationAttachmentFiles>> attachmentFiles) attachmentUrls(List<String> attachmentUrls) A list of image URLs that will be added as attachments.attachmentUrls(Optional<List<String>> attachmentUrls) The text body of the reply.build()The time the reply was created.messageType(AdminReplyConversationRequest.MessageType messageType)
-
Method Details
-
from
- Specified by:
fromin interfaceAdminReplyConversationRequest.MessageTypeStage
-
messageType
public AdminReplyConversationRequest.AdminIdStage messageType(@NotNull AdminReplyConversationRequest.MessageType messageType) - Specified by:
messageTypein interfaceAdminReplyConversationRequest.MessageTypeStage
-
adminId
The id of the admin who is authoring the comment.
- Specified by:
adminIdin interfaceAdminReplyConversationRequest.AdminIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
attachmentFiles
public AdminReplyConversationRequest._FinalStage attachmentFiles(List<ConversationAttachmentFiles> attachmentFiles) A list of files that will be added as attachments. You can include up to 10 files
- Specified by:
attachmentFilesin interfaceAdminReplyConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
attachmentFiles
public AdminReplyConversationRequest._FinalStage attachmentFiles(Optional<List<ConversationAttachmentFiles>> attachmentFiles) - Specified by:
attachmentFilesin interfaceAdminReplyConversationRequest._FinalStage
-
attachmentUrls
A list of image URLs that will be added as attachments. You can include up to 10 URLs.
- Specified by:
attachmentUrlsin interfaceAdminReplyConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
attachmentUrls
public AdminReplyConversationRequest._FinalStage attachmentUrls(Optional<List<String>> attachmentUrls) - Specified by:
attachmentUrlsin interfaceAdminReplyConversationRequest._FinalStage
-
createdAt
The time the reply was created. If not provided, the current time will be used.
- Specified by:
createdAtin interfaceAdminReplyConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
- Specified by:
createdAtin interfaceAdminReplyConversationRequest._FinalStage
-
body
The text body of the reply. Notes accept some HTML formatting. Must be present for comment and note message types.
- Specified by:
bodyin interfaceAdminReplyConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
- Specified by:
bodyin interfaceAdminReplyConversationRequest._FinalStage
-
build
- Specified by:
buildin interfaceAdminReplyConversationRequest._FinalStage
-