crystal-telegram_bot

Telegram Bot

Crystal client for Telegram's Bot API.

Installation

Add this to your application's shard.yml:

dependencies:
  telegram_bot:
    github: greyblake/telegram_bot

Usage

The library is still in development, but you can already access basic features.

require "telegram_bot"

TOKEN = "Token-that-Botfather-gave-you"

TelegramBot::Bot.new(TOKEN).run do |message|
  message.reply("Stop sending me '#{message.text}'!")
end

License

The library is available as open source under the terms of the MIT License.

Contributors

  • greyblake Sergey Potapov - creator, maintainer
Repository

crystal-telegram_bot

Owner
Statistic
  • 2
  • 0
  • 0
  • 1
  • 0
  • over 8 years ago
  • April 24, 2016
License

MIT License

Links
Synced at

Thu, 07 Nov 2024 02:18:16 GMT

Languages