Skip to content

The demo project of a telegram bot with payments via Assist

Notifications You must be signed in to change notification settings

assist-group/demo-telebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The demo project of a telegram bot in the Assist payment system.

The scheme of working

alt text

Usage

  • First of all, you have to register your bot to the @BotFather which you can find in telegram. Then, if you have the username and token of the bot, you should set these authorization data into Bot.java
      @Override
      public String getBotUsername() {
      return "yoursUsername";
      }
      @Override
      public String getBotToken() {
      return "yoursToken";
      }
  • Run the database container
cd docker/
docker-compose up -d
  • Build the project by maven
mvn install
  • Run the bot
java -jar target/telebot-1.0-SNAPSHOT.jar
  • Enjoy!

About

The demo project of a telegram bot with payments via Assist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages