tatler-client
TypeScript icon, indicating that this package has built-in type declarations

1.4.5 • Public • Published

TatlerBot NodeJS client

js-standard-style semantic-release NPM

NodeJS client for sending notifications to @TatlerBot Telegram bot.

Usage:

const tatler = require('tatler-client');
const clientLong = tatler({PipeName: 'PipeSecret', Pipe2Name: 'Pipe2Secret', ...});
clientLong('PipeName', 'Any message', callback);
clientLong('Pipe2Name', 'Any message').then(handler);

const clientShort = tatler({PipeName: 'PipeSecret', Pipe2Name: 'Pipe2Secret', ...}, 'PipeName');
clientShort('Any message', callback);
clientShort('Any message').then(handler);

const clientOnePipe = tatler({PipeName: 'PipeSecret'});
clientOnePipe('Any message', callback);
clientOnePipe('Any message').then(handler);

Readme

Keywords

Package Sidebar

Install

npm i tatler-client

Weekly Downloads

34

Version

1.4.5

License

JSON

Unpacked Size

6.93 kB

Total Files

6

Last publish

Collaborators

  • nordluf