npm.io
1.10.1 • Published 1 week ago

@microsoft/agents-activity

Licence
MIT
Version
1.10.1
Deps
1
Size
281 kB
Vulns
1
Weekly
0
Stars
90

@microsoft/agents-activity

Overview

The @microsoft/agents-activity implements the Activity Protocol Specification https://github.com/microsoft/Agents/blob/main/specs/activity/protocol-activity.md.

It provides declaration files defined with TypeScript and validators based on zod.

Installation

To install the package, use npm:

npm install @microsoft/agents-activity

Usage

const activity = Activity.fromObject({ type: ActivityTypes.Message, text: 'Hello World' })

Keywords