电报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 {
2021-12-22 22:28:08
40KB
Java
1