dialoganalytics / telegram-ruby-example

Dialog Analytics example integration in a Telegram and Ruby chatbot.

Home Page:https://dialoganalytics.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Dialog Analytics example integration in a Telegram and Ruby chatbot.

https://dialoganalytics.com


Languages

Language:Ruby 100.0%