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

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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