bothy-sdk
    Preparing search index...

    Interface Expectation

    What the event's payload says (point 6); an undefined run or thread is not compared.

    interface Expectation {
        runId: string | undefined;
        threadId: string | undefined;
        triggerClaim: string;
        triggerId: string | undefined;
    }
    Index

    Properties

    runId: string | undefined

    The run of the payload, if it names one.

    threadId: string | undefined

    The thread of the payload, if it names one.

    triggerClaim: string

    The claim that names the triggering object: message_id, interaction_id or command_id (empty for a trigger kind this SDK does not know).

    triggerId: string | undefined

    The triggering object of the payload; undefined when the payload has no counterpart, which makes the check invalid (fail closed).