• v0.15.0 - March 30, 2020
  • v0.14.0 - March 28, 2020
  • v0.13.0 - February 19, 2020
  • v0.12.0 - February 14, 2020
  • v0.11.0 - February 14, 2020

Header Image

Chat on Telegram

Telegram Bot API framework written in Crystal. Based heavily off of Telegraf this Crystal implementation allows your Telegram bot to be written in a language that's both beautiful and fast. Benchmarks coming soon.

If you want to extend your bot by using NLP, see my other library Cadmium.

Installation

Add this to your application's shard.yml:

dependencies:
  tourmaline:
    github: watzon/tourmaline
    version: ~> 0.14.0

Usage

For usage information please see the wiki. API documentation is also available here.

Examples are available in the examples folder.

Development

This currently supports the following features:

  • Client API
    • Implementation examples
    • Easy command syntax
    • Robust middleware system
    • Standard API queries
    • Stickers
    • Inline mode
    • Long polling
    • Webhooks
    • Payments
    • Games
    • Polls
    • Telegram Passport

If you want a new feature feel free to submit an issue or open a pull request.

Who's Using Tourmaline

If you're using Tourmaline and would like to have your bot added to this list, just submit a PR!

Contributing

  1. Fork it ( https://github.com/watzon/tourmaline/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • watzon Chris Watson - creator, maintainer
Owner
github statistic
  • 63
  • 7
  • 15
  • 0
  • 4 days ago
  • February 13, 2018
License

MIT License

Links
Synced at

Fri, 03 Apr 2020 23:59:42 GMT