Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 553 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 553 Bytes

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