Telegant Logo

Telegant

GitHub release Built with Crystal License

Telegant is a feature-rich Telegram bot framework specifically built for Crystal. Built with beauty and scalability in mind, it offers a simple syntax for creating complicated bot interactions while retaining Crystal's efficiency benefits.

🧩 Features

πŸ”¨ Installation

Add Telegant to your shard.yml:

telegant:
  github: telegant/telegant
  branch: release/v0.0.1

Then run:

shards install

πŸ’‘ Example

require "telegant"

class MyBot < Telegant::Bot
  @[Hears("hi", "hello")]
  def on_greet(update, bot)
    bot.reply("Hey there!")
  end
end

bot = MyBot.new("YOUR_BOT_TOKEN")
bot.start()

πŸ“– Documentation

https://crystaldoc.info/github/Telegant/Telegant/main/index.html

❀️ Contribute

To-do

πŸ—ΊοΈ Roadmap

To-do

🌐 Community