Skip to content

nordluf/tatler-client

Repository files navigation

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);

About

NodeJS client for sending notifications to @TatlerBot Telegram bot.

Resources

Stars

Watchers

Forks