Dialog Analytics example integration in a Telegram and Ruby chatbot.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.env.default
.gitignore
.ruby-version
Gemfile
Gemfile.lock
Readme.md
bot.rb
dialog.rb

Readme.md

Telegram Ruby Example

An example Telegram bot integrated with Dialog Analytics. Built with atipugin/telegram-bot-ruby.

Getting started

Clone this repository and run bundle install

Create an account on https://app.dialoganalytics.com, grab your Dialog API token and bot ID.

Set environment variables in .env:

TELEGRAM_TOKEN=...
DIALOG_API_TOKEN=...
DIALOG_BOT_ID=...

Start the bot:

$ ruby bot.rb

Go on web.telegram.org, find your bot and start interacting with it.

Go further

Read more on how to make the most out of the possibilities offered by Dialog here: https://dialoganalytics.com