0.1.4 • Published 8 years ago

telegram-flobot v0.1.4

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
8 years ago

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

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago