Package 

Class ConnectorData


  • 
    public class ConnectorData
    
                        

    The connector data that connector sends to the ConnectorController

    • Method Detail

      • getSkipAnswer

         final Boolean getSkipAnswer()

        Set to true if the bot does not make any answer to a user sentence. Synchronous Connectors usually do not support skipping answer.

      • getPriorUserId

         final PlayerId getPriorUserId()

        The previous user id - used when the user had a "temporary" identifier and the definitive identifier is now known.

      • getSaveTimeline

         final Boolean getSaveTimeline()

        To know if the timeline has to be saved - default is true. Set to false for bots that you don't need to register.

      • getGroupId

         final String getGroupId()

        An optional group id (for users group conversation handling).

      • setSkipAnswer

         final Unit setSkipAnswer(Boolean skipAnswer)

        Set to true if the bot does not make any answer to a user sentence. Synchronous Connectors usually do not support skipping answer.

      • setSaveTimeline

         final Unit setSaveTimeline(Boolean saveTimeline)

        To know if the timeline has to be saved - default is true. Set to false for bots that you don't need to register.