Skip to content

TelegramBot을 관리할 수 있는 java-Library입니다

Notifications You must be signed in to change notification settings

SW-Team/java-TelegramBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 

Repository files navigation

java-TelegramBot

Author: SW-Team

LICENSE

  • org.json - JSON-LICENSE

Usage

Initializing & Start Bot

TelegramBot bot = new TelegramBot("Bot::TOKEN");
bot.setHandler(list -> list.forEach(update -> {
    Message message = update.getMessage();
    //...etc
}));
bot.start();

Send Message

TextMessage message = new TextMessageSender(bot).setText("Hello, World!").setChatId("@username").send();

Get Data

Chat chat = new ChatGetter(bot).getChatId("@username").send();

About

TelegramBot을 관리할 수 있는 java-Library입니다

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages