# telegram-flobot

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

Latest version **0.1.4** (published 2016-08-04) · GPL-3.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install telegram-flobot
pnpm add telegram-flobot
yarn add telegram-flobot
bun add telegram-flobot
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2016-08-04 |
| First published | 2016-06-30 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | @entropyJS |
| Maintainers | entropyjs |
| Keywords | telegram, menu, telegram keyboard, bot, bot API, Telegram bot |

## Links

- npm: https://www.npmjs.com/package/telegram-flobot
- Repository: https://github.com/entropy-js/telegram-flobot
- Homepage: https://github.com/entropy-js/telegram-flobot#readme
- Issues: https://github.com/entropy-js/telegram-flobot/issues
- npm.io page: https://npm.io/package/telegram-flobot

## Dependencies (2)

- [emoji-codex](https://npm.io/package/emoji-codex.md) ^1.0.3
- [node-telegram-bot-api](https://npm.io/package/node-telegram-bot-api.md) ^0.23.3

## Recent versions

- 0.1.4 (latest) — 2016-08-04
- 0.1.3 — 2016-08-04
- 0.1.2 — 2016-08-01
- 0.1.1 — 2016-08-01
- 0.1.0 — 2016-08-01
- 0.0.9 — 2016-08-01
- 0.0.8 — 2016-08-01
- 0.0.7 — 2016-08-01
- 0.0.6 — 2016-08-01
- 0.0.5 — 2016-08-01
- 0.0.4 — 2016-07-31
- 0.0.3 — 2016-06-30
- 0.0.2 — 2016-06-30
- 0.0.1 — 2016-06-30

## README

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<br />
Dependencies: node-telegram-bot-api<br />
License: GPL v3

Support this project! 
======================
You can support the development of telegram-flobot via Bitcoin & DASH
Donation Addresses are: 

Bitcoin: 1CASHmw3urdUij1hN3FgtST49zMrSu7Xer<br />
DASH: XdGNVTvriaz8gZP8Uwm4KCrwLB3JZQTXFN

---
_Source: https://npm.io/package/telegram-flobot · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
