This package has been deprecated

Author message:

Package is a work in progress and currently unsupported.

telegram-flobot

0.1.4 • Public • Published

Telegram Flobot

Telegram bot API for representing menu flows as a state machine.

Creates a finite state machine where the text sent to the bot is matched by a regular expression and then the next state to transition to is matched accordingly.

Each state can send multiple messages, display a keyboard of choices, and run custom control code.

Installation

npm install telegram-flobot --save

Example

var flobot = require('telegram-flobot');
var telegram_token = '...';

var Root = {
//...state machine stuff...
}

flobot.run(telegram_token,Root);

Details

Platform: NodeJS
Dependencies: node-telegram-bot-api
License: GPL v3

Support this project!

You can support the development of telegram-flobot via Bitcoin & DASH Donation Addresses are:

Bitcoin: 1CASHmw3urdUij1hN3FgtST49zMrSu7Xer
DASH: XdGNVTvriaz8gZP8Uwm4KCrwLB3JZQTXFN

Package Sidebar

Install

npm i telegram-flobot

Weekly Downloads

0

Version

0.1.4

License

GPL-3.0

Last publish

Collaborators

  • entropyjs