Class ChatTitleUpdatedEvent


  • public final class ChatTitleUpdatedEvent
    extends ConversationStreamEvent
    The server auto-generating a short title for the conversation as a UI convenience. Can arrive before or after a WorkflowFinishedEvent; not tied to the run's outcome.
    • Constructor Detail

      • ChatTitleUpdatedEvent

        public ChatTitleUpdatedEvent()
    • Method Detail

      • getChatId

        public long getChatId()
        Returns the ID of the owning conversation.
        Returns:
        conversation ID
      • getChatUid

        public String getChatUid()
        Returns the conversation identifier.
        Returns:
        conversation identifier
      • getSource

        public String getSource()
        Returns where the title came from, e.g. "ai_generated".
        Returns:
        where the title came from
      • getTitle

        public String getTitle()
        Returns the new (possibly truncated) title.
        Returns:
        the new (possibly truncated) title
      • getUpdatedAt

        public long getUpdatedAt()
        Returns the Unix timestamp (in seconds) at which the title was updated.
        Returns:
        Unix timestamp (in seconds) at which the title was updated