@microsoft/opentelemetry
    Preparing search index...

    Interface ActivityLike

    Minimal activity shape required by hosting observability utilities.

    interface ActivityLike {
        channelData?: unknown;
        channelId?: string;
        channelIdSubChannel?: unknown;
        conversation?: { id?: string };
        from?: {
            aadObjectId?: string;
            agenticAppBlueprintId?: string;
            agenticAppId?: string;
            agenticUserId?: string;
            name?: string;
            role?: string;
            tenantId?: string;
        };
        getAgenticInstanceId?: () => string | undefined;
        getAgenticTenantId?: () => string;
        getAgenticUser?: () => string;
        isAgenticRequest?: () => boolean;
        name?: string;
        recipient?: { aadObjectId?: string; name?: string; role?: string };
        serviceUrl?: string;
        text?: string;
        type?: string;
    }
    Index
    channelData?: unknown

    Channel-specific payload data.

    channelId?: string

    Identifier of the channel the activity arrived on.

    channelIdSubChannel?: unknown

    Identifier of the channel sub-channel, when applicable.

    conversation?: { id?: string }

    The conversation the activity belongs to.

    Type Declaration

    • Optionalid?: string

      Identifier of the conversation.

    from?: {
        aadObjectId?: string;
        agenticAppBlueprintId?: string;
        agenticAppId?: string;
        agenticUserId?: string;
        name?: string;
        role?: string;
        tenantId?: string;
    }

    The sender of the activity.

    Type Declaration

    • OptionalaadObjectId?: string

      AAD Object ID of the sender.

    • OptionalagenticAppBlueprintId?: string

      Agentic application blueprint identifier of the sender.

    • OptionalagenticAppId?: string

      Agentic application identifier of the sender.

    • OptionalagenticUserId?: string

      Agentic user identifier of the sender.

    • Optionalname?: string

      Display name of the sender.

    • Optionalrole?: string

      Role of the sender (e.g. user, bot).

    • OptionaltenantId?: string

      Tenant identifier of the sender.

    getAgenticInstanceId?: () => string | undefined

    Returns the agentic instance identifier, if any.

    getAgenticTenantId?: () => string

    Returns the agentic tenant identifier.

    getAgenticUser?: () => string

    Returns the agentic user identifier.

    isAgenticRequest?: () => boolean

    Returns whether this activity represents an agentic request.

    name?: string

    The activity name (used for event activities).

    recipient?: { aadObjectId?: string; name?: string; role?: string }

    The recipient of the activity.

    Type Declaration

    • OptionalaadObjectId?: string

      AAD Object ID of the recipient.

    • Optionalname?: string

      Display name of the recipient.

    • Optionalrole?: string

      Role of the recipient (e.g. user, bot).

    serviceUrl?: string

    Service URL used to send replies back to the channel.

    text?: string

    The text content of the activity.

    type?: string

    The activity type (e.g. message, event).