Skip to content

Lemar98/TelegramBotBase

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TelegramBotBase

Base for working Telegram Bot

App.java

Starts the bot on the specified parameters "bot name" and "token"

Class Bot.java

  • Override basic methods of TelegramLongPollingBot.
  • implement command botConnect. Register selected bot in TelegramAPI
  • When receiving update only logged the event is not taking any action.

##Part2

Handlers and Command

  • add special class for Command
  • add Parser for Command
  • add Handlers for Command

Threads

  • Sender Thread
  • Receiver Thread
  • Sample of the operate command in a separate thread. Notify command and class

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%