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