文件名称:TelegramBotAPI:Telegram bot API的Java 8实现
文件大小:40KB
文件格式:ZIP
更新时间:2024-05-19 22:24:46
Java
电报BotAPI Telegram机器人API的Java 8实现。 机器人示例 public class AwesomoBot { private static final String TOKEN = " YourTokenHere " ; private static final TelegramBot bot = TelegramBot . getInstance( TOKEN ); public static void main ( String [] args ) throws IOException { new AwesomoBot () . replyWithAwesomeness(); } public AwesomoBot replyWithAwesomeness () throws IOException {