Skip to content

dp-ua/TelegramBotBase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages