An absolutely simple bot for Telegram Messenger written in one night in Ruby for #1 news website in Belarus
Yes, it's always accessible by @tutbybot nickname.
- Read the latest news from variety of categories like politics, economics and etc.
- Get the currencies (USD, EUR and BYR)
- Searching for news
- Subscriptions to the certain category of news
- Ability to send your news to the editorial office
- Fork it
- Obtain your Bot Token and Botan Token, copy
secrets.rb
to config folder and put your tokens like in example. - Install necessary gems and run it as a background job.
$ bundle install
$ ruby app.rb start
- If you want to stop using it, just type:
$ ruby app.rb stop
The API methods were obtained through decompiling the official TUT.BY Android application.
You have to configure your own secrets.rb in config folder.