/jaconda_telegram

Jaconda.im api ruby wrapper

Primary LanguageRubyMIT LicenseMIT

JacondaTelegram

Ruby gem to interact with Jaconda.im

Installation

Add this line to your application's Gemfile:

gem 'jaconda_telegram'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jaconda_telegram

Usage

Example code:

jaconda = JacondaTelegram::Api.new('YOUR_TOKEN')
# Get all available groups
jaconda.list_groups
# Send Message
jaconda.send_message(126, 'Hello there!')
# Send Photo
jaconda.send_media(126, 'PATH_TO_FILE')