Bottr-js / Bottr

🤖 The world's simplest framework for creating Bots
http://bottr.co
MIT License
936 stars 86 forks source link

Telegram Bot API #73

Open hafezd opened 8 years ago

hafezd commented 8 years ago

Hi, Is it possible to add support for Telegram Bot API? How?

https://core.telegram.org/bots https://core.telegram.org/bots/api

jcampbell05 commented 8 years ago

I'm working on some documentation about building your own custom client but the best way is to study the https://github.com/Bottr-js/Bottr/blob/master/lib/clients/facebook-messenger-client.js

Basically right now the client listens out for a webhook event when somehting hits the /webhook endpoint and triggers the events.

It then implements some methods for sending a method etc.

I can invite you to our slack though if you have any questions on implementation.