
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@yuva1422/telegram.js
Advanced tools
A powerful Node.js module that allows you to easily interact with the Telegram Bot API
telegram.js is a powerful module that allows you to easily interact with the Telegram Bot API
npm install @yuva1422/telegram.js
const Telegram = require('telegram.js');
const client = new Telegram.Client();
client.on('ready', () => {
console.log(`Logged in as ${client.user.username}`);
});
client.on('message', (msg) => {
if (msg.content === 'hii') {
msg.reply('hello');
};
});
client.commands.on('ping', (bot, msg, args) => {
msg.chat.send('pong!');
});
client.login('token');
client.startPolling();
Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the documentation.
If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official Telegram.js Server
FAQs
A powerful Node.js module that allows you to easily interact with the Telegram Bot API
The npm package @yuva1422/telegram.js receives a total of 6 weekly downloads. As such, @yuva1422/telegram.js popularity was classified as not popular.
We found that @yuva1422/telegram.js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.