8000 GitHub - demidko/telegram: Telegram bot template
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

demidko/telegram

Repository files navigation

Telegram bot template

Usage

  1. Make sure you are signed in to your GitHub account, then just click here to use template.
  2. See Kotlin Telegram bot guide. App.kt file is entry point.

Build with Java

Execute ./gradlew clean build. Your jar will be located at ./build/libs with -all.jar postfix. Now you can run:

TOKEN=... java -jar telegram-all.jar

Or, build with Docker

Execute docker build . -t telegram. Your image will be located at docker images -a. Now you can run:

docker run -v `pwd`:`pwd` -w `pwd` -it --rm --env TOKEN=... telegram

Deploy

Deploy to DigitalOcean

About

Telegram bot template

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 
0