TelegramBot is an EventEmitter that emits several events. Message, received a new incoming Message of any kind. Depending on the properties of the Message, one of these events may ALSO be emitted, text, audio, document, photo, sticker, video, voice, contact, location, new_chat_members, left_chat_member, new_chat_title, new_chat_photo, delete_chat_photo, group_chat_created, game, pinned_message, poll, dice, migrate_from_chat_id, migrate_to_chat_id, channel_chat_created, supergroup_chat_created, successful_payment, invoice, video_note, etc. Its much better to listen a specific event rather than on message in order to stay safe from the content. Bot must be enabled on inline mode for receive some messages.T elegram only supports HTTPS connections to WebHooks. Therefore, in order to set a WebHook, you will need a SSL certificate. The library makes it easy to get started sending files. By default, you may provide a file-path and the library will handle reading it for you.

Features

  • When sending files, the library automatically resolves the filename and contentType properties
  • Telegram only supports HTTPS connections to WebHooks
  • The library makes it easy to get started sending files
  • TelegramBot is an EventEmitter that emits several events
  • In order to set a WebHook, you will need a SSL certificate

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Node.js Telegram Bot API

Node.js Telegram Bot API Web Site

You Might Also Like
Composable, Open Source Payments Platform Icon
Composable, Open Source Payments Platform

Build or enhance your payments stack, while maintaining control with an open-source, full-stack and modular infrastructure.

Juspay's Payments Orchestration Platform offers a comprehensive product suite for businesses, including open-source payment orchestration, global payouts, seamless authentication, payment tokenization, fraud & risk management, end-to-end reconciliation, unified payment analytics & more. The company’s offerings also include end-to-end white label payment gateway solutions & real-time payments infrastructure for banks. These solutions help businesses achieve superior conversion rates, reduce fraud, optimize costs, and deliver seamless customer experiences at scale.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Node.js Telegram Bot API!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Chatbot Software, JavaScript Telegram Bots, JavaScript Bot Frameworks

Registered

2021-10-19