botas-express
    Preparing search index...

    Class BotApp

    Zero-boilerplate bot host that composes a BotApplication with an Express server.

    import { BotApp } from 'botas-express'

    const app = new BotApp()
    app.on('message', async (ctx) => {
    await ctx.send('you said: ' + ctx.activity.text)
    })
    app.start()
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    The underlying BotApplication instance.

    Methods

    • Start the Express server.

      Creates routes for the bot messages endpoint, a health check, and a root status page, then begins listening.

      Returns Server

      The underlying http.Server — call .close() to shut down.