Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

Latest commit

 

History

History
21 lines (14 loc) · 451 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 451 Bytes

botbuilder-aws-lambda

Deploy your Microsoft Bot as an AWS Lambda function.

const botbuilder = require('botbuilder');
const lambda = require('botbuilder-aws-lambda');

let connector = new builder.ChatConnector({
    appId: process.env.MICROSOFT_APP_ID,
    appPassword: process.env.MICROSOFT_APP_PASSWORD
});

exports.handler = lambda(connector); // MAGIC HAPPENS HERE

let bot = new builder.UniversalBot(connector);

LICENSE

Apache 2.0