Skip to content

tiny telegram client in functional way inspired by Anjana Vakil

License

Notifications You must be signed in to change notification settings

fabiooshiro/vakil-telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vakil-telegram

tiny telegram client in functional way inspired by Anjana Vakil

if you wanna see what Im talking about: https://youtu.be/Pg3UeB-5FdA?t=24m40s

var token = 'your-telegram-token';
var Telegram = require('vakil-telegram');
var telegram = Telegram(token);

telegram('sendMessage', {chat_id: 'some chat id', text: 'Cool functional'});

How to send an image

telegram('sendPhoto', {chat_id: '-246972423', photo: fs.createReadStream('upload.jpg')});

Full docs at https://core.telegram.org/bots/api

About

tiny telegram client in functional way inspired by Anjana Vakil

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published