0.1.4 • Published 10 years ago

telegram-flobot v0.1.4

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
10 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

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago