Skip to content
This repository has been archived by the owner on Nov 28, 2018. It is now read-only.
/ clojure-telegram Public archive

Sample telegram bot that echos whatever you say

Notifications You must be signed in to change notification settings

finalight/clojure-telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telegram-clojure

Sample project to show how to connect to the telegram bot using clojure programming language.

Prerequisite

You need to export the following environment variable

export BOT_URL=YOUR BOT URL HERE
export TELEGRAM_API_KEY=YOUR TELEGRAM API KEY HERE

Using heroku, you can also set the config variable in the platform and push to heroku after that.

For those who are not familiar with heroku/heroku clojure deployment, you can refer to (here)[https://devcenter.heroku.com/articles/getting-started-with-clojure]

Prerequisites

You will need Leiningen 2.0.0 or above installed.

Running

To start a web server for the application, run:

```lein ring server```
Or
```lein ring server-headless```

License

Copyright © 2018 FIXME

About

Sample telegram bot that echos whatever you say

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published