Class AbstractTicketCmd<T>

    • Field Detail

      • deskConversationId

        protected final String deskConversationId
      • ticketConversationId

        protected final String ticketConversationId
      • digitalAssistantUserId

        protected final String digitalAssistantUserId
      • isNewTicket

        protected final boolean isNewTicket
    • Constructor Detail

      • AbstractTicketCmd

        protected AbstractTicketCmd​(String deskConversationId,
                                    String ticketConversationId,
                                    String digitalAssistantUserId,
                                    boolean isNewTicket)
    • Method Detail

      • removeStickyMessages

        protected void removeStickyMessages​(String conversationId,
                                            String userId,
                                            CommandContext commandContext)
        Removes sticky messages of the given conversation, optionally only, if private and recipient is the given user.
        Parameters:
        conversationId - the id of the conversation to remove sticky messages
        userId - the optional if of the recipient to remove its private messages
        commandContext - the command context under which to run this function
      • getDeskConversationId

        public String getDeskConversationId()
      • getTicketConversationId

        public String getTicketConversationId()
      • getDigitalAssistantUserId

        public String getDigitalAssistantUserId()
      • isNewTicket

        public boolean isNewTicket()