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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try 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