All Projects → botgram → Botgram

botgram / Botgram

Licence: isc
⚙️ Microframework to build Telegram bots

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Botgram

telegram
📚 Golang bindings for Telegram API
Stars: ✭ 15 (-93.02%)
Mutual labels:  bots, telegram-api
Node Vk Bot Api
🤖 VK bot framework for Node.js, based on Bots Long Poll API and Callback API.
Stars: ✭ 195 (-9.3%)
Mutual labels:  bots
Postagga
A Library to parse natural language in pure Clojure and ClojureScript
Stars: ✭ 152 (-29.3%)
Mutual labels:  bots
Tdl
Node.js bindings to TDLib.
Stars: ✭ 177 (-17.67%)
Mutual labels:  telegram-api
Nginx Ultimate Bad Bot Blocker
Nginx Block Bad Bots, Spam Referrer Blocker, Vulnerability Scanners, User-Agents, Malware, Adware, Ransomware, Malicious Sites, with anti-DDOS, Wordpress Theme Detector Blocking and Fail2Ban Jail for Repeat Offenders
Stars: ✭ 2,351 (+993.49%)
Mutual labels:  bots
Awesome Discord
🕹 A curated list of awesome things on Discord.
Stars: ✭ 180 (-16.28%)
Mutual labels:  bots
Botonic
Build chatbots and conversational experiences using React
Stars: ✭ 144 (-33.02%)
Mutual labels:  bots
Rasa core
Rasa Core is now part of the Rasa repo: An open source machine learning framework to automate text-and voice-based conversations
Stars: ✭ 2,302 (+970.7%)
Mutual labels:  bots
Botbuilder Microsoftteams
Microsoft Bot Builder extension library for developing bots for Microsoft Teams
Stars: ✭ 192 (-10.7%)
Mutual labels:  bots
Micro Bot
🤖 Zero-configuration Telegram bot runner
Stars: ✭ 173 (-19.53%)
Mutual labels:  telegram-api
Telegrambotslist
A list of all Telegram bots source hosted on github.
Stars: ✭ 172 (-20%)
Mutual labels:  bots
Sentry Telegram
Plugin for Sentry which allows sending notification via Telegram messenger.
Stars: ✭ 168 (-21.86%)
Mutual labels:  telegram-api
Rubotnik
"Bot-end" Ruby framework to quickly build and launch a Facebook Messenger chatbot
Stars: ✭ 191 (-11.16%)
Mutual labels:  bots
Java Telegram Bot Tutorial
Java Telegram Bot Tutorial. Feel free to submit issue if you found a mistake.
Stars: ✭ 165 (-23.26%)
Mutual labels:  bots
Maratona Bots
Maratona Bots é um curso de capacitação para desenvolvimento de Bots, utilizando APIs e outros serviços de Inteligência Artificial, feito pela comunidade em parceria com a Microsoft.
Stars: ✭ 198 (-7.91%)
Mutual labels:  bots
Magento Chatbot
Magento Chatbot Integration with Telegram, Messenger, Whatsapp, WeChat, Skype and wit.ai.
Stars: ✭ 149 (-30.7%)
Mutual labels:  telegram-api
Eddi
Scalable Open Source Chatbot Platform. Build multiple Chatbots with NLP, Behavior Rules, API Connector, Templating. Developed in Java, provided with Docker, orchestrated with Kubernetes or Openshift.
Stars: ✭ 171 (-20.47%)
Mutual labels:  bots
Botkit Cms
An open tool for designing, building and managing interactive dialog systems
Stars: ✭ 180 (-16.28%)
Mutual labels:  bots
Telegram Bot Api
First Telegram Bot API node.js library
Stars: ✭ 205 (-4.65%)
Mutual labels:  telegram-api
Telegramapi
Java library to create Telegram Clients
Stars: ✭ 198 (-7.91%)
Mutual labels:  telegram-api

Botgram

Bots are special Telegram users controlled with an HTTP API. Botgram aims to expose the capabilities of this API with a very clear and minimal syntax, so you can create Telegram bots easily.

const botgram = require("botgram")
const bot = botgram("<auth token>")

bot.command("start", "help", (msg, reply) =>
  reply.text("To schedule an alert, do: /alert <seconds> <text>"))

bot.command("alert", (msg, reply, next) => {
  var [ seconds, text ] = msg.args(2)
  if (!seconds.match(/^\d+$/) || !text) return next()

  setTimeout(() => reply.text(text), Number(seconds) * 1000)
})

bot.command((msg, reply) =>
  reply.text("Invalid command."))

Features

  • Simple, intuitive API.
  • Quick setup; just put your auth token and you're in business.
  • Exposes all functionality in the Bot API 2.3.1, including custom keyboards, inline keyboards, force reply, chat actions, deep linking, kicking users, editing messages, notifications...
  • Ability to stream downloads and uploads.
  • Powerful, connect-style message handling and filtering.

Bots API version implemented: December 4, 2016

Install

npm install botgram

Follow the tutorial, take a look at more examples, or consult the documentation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].