Package com.intercom.api.types
Class InitializeRequest.Builder
java.lang.Object
com.intercom.api.types.InitializeRequest.Builder
- All Implemented Interfaces:
InitializeRequest._FinalStage,InitializeRequest.AdminStage,InitializeRequest.ContactStage,InitializeRequest.ContextStage,InitializeRequest.ConversationStage,InitializeRequest.WorkspaceIdStage,InitializeRequest.WorkspaceRegionStage
- Enclosing class:
InitializeRequest
public static final class InitializeRequest.Builder
extends Object
implements InitializeRequest.WorkspaceIdStage, InitializeRequest.WorkspaceRegionStage, InitializeRequest.AdminStage, InitializeRequest.ContextStage, InitializeRequest.ConversationStage, InitializeRequest.ContactStage, InitializeRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionThe Intercom teammate viewing the conversation.build()cardCreationOptions(String key, Object value) Key-value pairs which were given as results in response to the Configure request.cardCreationOptions(Map<String, Object> cardCreationOptions) The contact which is currently being viewed by the teammate in the conversation details panel.The context of where the app is added, where the user last visited, and information on the Messenger settings.conversation(Conversation conversation) The conversation your app is being shown for.from(InitializeRequest other) putAllCardCreationOptions(Map<String, Object> cardCreationOptions) Key-value pairs which were given as results in response to the Configure request.workspaceId(String workspaceId) The workspace ID of the teammate.workspaceRegion(String workspaceRegion) The Intercom hosted region that this app is located in.
-
Method Details
-
from
- Specified by:
fromin interfaceInitializeRequest.WorkspaceIdStage
-
workspaceId
The workspace ID of the teammate. Attribute is
app_idfor V1.2 and below.- Specified by:
workspaceIdin interfaceInitializeRequest.WorkspaceIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
workspaceRegion
The Intercom hosted region that this app is located in.
- Specified by:
workspaceRegionin interfaceInitializeRequest.WorkspaceRegionStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
admin
The Intercom teammate viewing the conversation.
- Specified by:
adminin interfaceInitializeRequest.AdminStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
context
The context of where the app is added, where the user last visited, and information on the Messenger settings.
- Specified by:
contextin interfaceInitializeRequest.ContextStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
conversation
The conversation your app is being shown for.
- Specified by:
conversationin interfaceInitializeRequest.ConversationStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contact
The contact which is currently being viewed by the teammate in the conversation details panel. We send an individual initialize request for each customer when it's a group conversation.
- Specified by:
contactin interfaceInitializeRequest.ContactStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
cardCreationOptions
Key-value pairs which were given as results in response to the Configure request.
- Specified by:
cardCreationOptionsin interfaceInitializeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
putAllCardCreationOptions
public InitializeRequest._FinalStage putAllCardCreationOptions(Map<String, Object> cardCreationOptions) Key-value pairs which were given as results in response to the Configure request.
- Specified by:
putAllCardCreationOptionsin interfaceInitializeRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
cardCreationOptions
- Specified by:
cardCreationOptionsin interfaceInitializeRequest._FinalStage
-
build
- Specified by:
buildin interfaceInitializeRequest._FinalStage
-