Class InitializeRequest


  • public final class InitializeRequest
    extends java.lang.Object
    • Method Detail

      • getWorkspaceId

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

        public java.lang.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 java.util.Map<java.lang.String,​java.lang.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​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object