Project

vkteamsbot

0.0
No release in over a year
This gem is a simple and minimalistic library for creating VK Teams bots.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.0, >= 1.0.2
 Project Readme

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