0.1.4 • Published 8 years ago

teleapiwrapperwrapper v0.1.4

Weekly downloads
1
License
Beerware
Repository
-
Last release
8 years ago

Usage:

Importing:

const { createBot } = require('teleapiwrapperwrapper');
// or
const createBot = require('teleapiwrapperwrapper').createBot;

All API-options from teleapiwrapper are available, as well as an extensive event emitter:

const bot = createBot('my-secret-token');

bot.on('text', message => console.log(message.text));

bot.on('new_chat_participant', message => console.log(message.new_chat_participant));

bot.on('inline_query', inline_query => console.log(inline_query));

Look at the glorious code for more documentation

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