vkteams-bot-ruby ♦️
Ruby wrapper for VK Teams Bot API
Installation
gem install vkteamsbot
Usage
Simple echo bot:
require 'vkteamsbot'
VKTeams::Bot.new('token') do |bot|
bot.listen do |event|
bot.send_msg("echo #{event.text}", event.chat_id)
end
end
more examples in bin/
Docs
Credits
- Thank you Cyril David (author by gem requests)
- And thank you Matz for wonderful Ruby