From edad5140dab4c8dea6f9b2c0d88cefaeae645b16 Mon Sep 17 00:00:00 2001 From: aNNiMON Date: Mon, 15 Jul 2024 21:47:43 +0300 Subject: [PATCH] Upgrade telegrambots API to 7.7.1 --- README.md | 10 +++++++++- module/build.gradle | 4 ++-- testbot-kotlin/build.gradle | 2 +- testbot/build.gradle | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 01f8f1c..aeb0b56 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,17 @@ Enhanced Java telegram bots runner built on top of the [Telegram Bots](https://g - Add gradle dependency: ```groovy - implementation 'com.annimon:tgbots-module:7.6.0' + implementation 'com.annimon:tgbots-module:7.7.0' ``` +- Or if you don't want to use webhooks: + + ```groovy + implementation ('com.annimon:tgbots-module:7.7.0') { + exclude group: 'org.telegram', module: 'telegrambots-webhook' + } + ``` + - Implement `BotModule` interface: ```java diff --git a/module/build.gradle b/module/build.gradle index f8ee5bc..745b2ed 100644 --- a/module/build.gradle +++ b/module/build.gradle @@ -5,7 +5,7 @@ plugins { } group 'com.annimon' -version '7.6.0-SNAPSHOT' +version '7.7.0-SNAPSHOT' ext.isReleaseVersion = !version.endsWith("SNAPSHOT") java { @@ -18,7 +18,7 @@ repositories { mavenCentral() } -ext.telegramBotsVersion = '7.6.0' +ext.telegramBotsVersion = '7.7.1' ext.jacksonVersion = '2.17.1' ext.junit5Version = '5.10.2' ext.jaxbVersion = '2.3.1' diff --git a/testbot-kotlin/build.gradle b/testbot-kotlin/build.gradle index 6841406..7367471 100644 --- a/testbot-kotlin/build.gradle +++ b/testbot-kotlin/build.gradle @@ -4,7 +4,7 @@ plugins { } group 'com.annimon' -version '7.6.0-SNAPSHOT' +version '7.7.0-SNAPSHOT' mainClassName = 'com.annimon.testbotkt.TestBot' diff --git a/testbot/build.gradle b/testbot/build.gradle index 5e06d7a..25e7c52 100644 --- a/testbot/build.gradle +++ b/testbot/build.gradle @@ -4,7 +4,7 @@ plugins { } group 'com.annimon' -version '7.6.0-SNAPSHOT' +version '7.7.0-SNAPSHOT' mainClassName = 'com.annimon.testbot.TestBot'