botas-core
    Preparing search index...

    Interface CoreActivity

    The core activity payload received from or sent to the Bot Service. Only the fields listed here are explicitly typed; all other wire properties are preserved in properties.

    interface CoreActivity {
        type: string;
        serviceUrl: string;
        from: ChannelAccount;
        recipient: ChannelAccount;
        conversation: Conversation;
        text?: string;
        name?: string;
        value?: unknown;
        entities?: Entity[];
        attachments?: Attachment[];
        properties?: Record<string, unknown>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    type: string

    Activity type (e.g. "message", "conversationUpdate").

    serviceUrl: string

    Service URL for the sending channel — used to reply.

    Account that sent the activity.

    recipient: ChannelAccount

    Account that received the activity (the bot).

    conversation: Conversation

    Conversation this activity belongs to.

    text?: string

    Text content of a message activity.

    name?: string

    Sub-type name for invoke activities (e.g. "adaptiveCard/action", "task/fetch").

    value?: unknown

    Payload for invoke activities.

    entities?: Entity[]

    Structured entities attached to the activity.

    attachments?: Attachment[]

    File or card attachments.

    properties?: Record<string, unknown>

    Additional properties not covered by the typed fields above.