osx-telegram
const telegram = require('osx-telegram');
telegram.getStatus().then(status => {
console.log(status.isRunning);
console.log(status.currentChatName);
});
Telegram OS X API
Homepage Repository npm AppleScript Download
const telegram = require('osx-telegram');
telegram.getStatus().then(status => {
console.log(status.isRunning);
console.log(status.currentChatName);
});