After searching all over the web, I am forced to ask: What can I use to send messages using the Telegram API? JavaScript or PHP preferably. I have a group of friends that I wish I could tell through certain events on the website.
Here's an interesting link: http://reyero.net/es/node/263
Check this link: https://github.com/zhukov/webogram this is a chrome app using javascript.
API can found here: https://core.telegram.org/api
Other applications using the api can found here: https://telegram.org/apps
use the source luke :)
I would not do it in javascript because you have to give alle the authentication infos to the client.
Simple JS library to operate the calls to Telegram API servers using Javascript: https://github.com/sunriselink/TelegramApi
That's what you have been looking for, and me too.
Works this way (from the README.md):
telegramApi.getUserInfo().then(function(user) {
if (user.id) {
// You have already signed in
} else {
// Log in
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With