Class InitializeRequest

java.lang.Object
com.intercom.api.types.InitializeRequest

public final class InitializeRequest extends Object
  • Method Details

    • getWorkspaceId

      public String getWorkspaceId()
      Returns:
      The workspace ID of the teammate. Attribute is app_id for V1.2 and below.
    • getWorkspaceRegion

      public String getWorkspaceRegion()
      Returns:
      The Intercom hosted region that this app is located in.
    • getAdmin

      public Admin getAdmin()
      Returns:
      The Intercom teammate viewing the conversation.
    • getCardCreationOptions

      public Map<String,Object> getCardCreationOptions()
      Returns:
      Key-value pairs which were given as results in response to the Configure request.
    • getContext

      public Context getContext()
      Returns:
      The context of where the app is added, where the user last visited, and information on the Messenger settings.
    • getConversation

      public Conversation getConversation()
      Returns:
      The conversation your app is being shown for.
    • getContact

      public Contact getContact()
      Returns:
      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.
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static InitializeRequest.WorkspaceIdStage builder()