interface ThreadOptions {
    generateName: ((ticket) => string);
    generateStartMessage: ((ticket) => string | BaseMessageOptions);
}

Properties

generateName: ((ticket) => string)

A function to build the thread name based on the provided ticket.

Type declaration

    • (ticket): string
    • Parameters

      Returns string

generateStartMessage: ((ticket) => string | BaseMessageOptions)

A function to create a start message for the thread.

Type declaration

    • (ticket): string | BaseMessageOptions
    • Parameters

      Returns string | BaseMessageOptions