Wednesday, September 21, 2016

telegram-bot-bootstrap A bootstrap for Telegram bot with directly deployable sample bot and JS-wrapped API methods

A bootstrap for Telegram bot with directly deployable sample bot and JS-wrapped API methods. You can use all methods available in the Telegram API directly, and send any supported media (we serialize the formData for you to send over HTTP).

https://www.npmjs.com/package/telegram-bot-bootstrap 


See the full API documentation of this project.

Do either of
npm install telegram-bot-bootstrap
git clone https://github.com/kengz/telegram-bot-bootstrap.git
Either way you'll get a module with the Telegram bot API wrapped in Node, and a bootstrapped, deploy-ready project.
If you haven't already, get a bot from BotFather and remember your bot token!
  • Wrapped API methods take either a JSON object or multiple parameters.
  • Auto serialization for HTTP formData: send photos/keyboards/media directly.
  • API methods return promises (uses q) for easy chaining and flow control.
  • Complete documentation and examples usages.
  • Bootstrapped and directly deployable bot. 

AFTER THE BOT CONVENIENTLY INSTALLED WE MIGHT NEED THIS:


How to cast object in jBPM web service

  I have been cracking my head on how to do this. I have a web service where I am sending an Integer (ideally I want to send an Object) to the service and expecting an Object in return.
It appears as though the outbound SOAP message is working because in the console of my web service I can see the database query being returned. However, in JBoss BPMS I get the following error message

https://developer.jboss.org/thread/240965 

No comments:

Man in the Rain