NetTalk Central

NetTalk Web Server => Web Server - Share Knowledge => Topic started by: osquiabro on August 15, 2019, 04:14:26 PM

Title: OT Nettalk+Telegram
Post by: osquiabro on August 15, 2019, 04:14:26 PM
create my first interface with NT + Telegram look at the image of the Bot for a client and do NOT respond to a Bot, this is a shipment tracking system ... amazing with NT with few lines of code ..
Title: Re: OT Nettalk+Telegram
Post by: urayoan on September 03, 2019, 05:41:41 AM
Nice job!
Title: Re: OT Nettalk+Telegram
Post by: Alberto on September 03, 2019, 06:32:50 AM
Nice! may you please share the code?
Title: Re: OT Nettalk+Telegram
Post by: osquiabro on September 04, 2019, 06:02:44 AM
This is a full functional example of telegram with Nettalk, need jfiles, very important telegram only run with https so you need a secure server for test your program.

The other part is with telegram you need create a bot with Bot Father for create your bot and obtain the Api key is very simple, after create your bot you can obtain the API key

Then you need to indicate telegram your webhook address with this url:

https://api.telegram.org/bot<yourApitoken>/setWebhook?url=https://<YourURL>/hook <--your procedure name

Then call a bot and test the response, the example find by customer id.
Title: Re: OT Nettalk+Telegram
Post by: urayoan on September 04, 2019, 11:07:47 AM
Amazing. Thanks for share!