Skip to content

About

No description, website, or topics provided.

Resources

Stars

12 stars

Watchers

3 watching

Forks

Latest commit

 

History

92 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

12 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages