From 49e87b1ea51a93f8c8df65044eecac70d412e680 Mon Sep 17 00:00:00 2001 From: Rubenlagus Date: Thu, 17 Nov 2016 03:37:01 +0100 Subject: [PATCH] Version 2.4.2 --- README.md | 6 +++--- TelegramBots.wiki/Changelog.md | 4 ++-- TelegramBots.wiki/Getting-Started.md | 4 ++-- TelegramBots.wiki/How-To-Update.md | 2 +- pom.xml | 4 ++-- telegrambots-meta/pom.xml | 2 +- telegrambots/pom.xml | 4 ++-- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index cc895bb3..9f96685c 100644 --- a/README.md +++ b/README.md @@ -27,12 +27,12 @@ Just import add the library to your project with one of these options: org.telegram telegrambots - 2.4.1 + 2.4.2 ``` - 2. Using Jitpack from [here](https://jitpack.io/#rubenlagus/TelegramBots/v2.4.1) - 3. Download the jar(including all dependencies) from [here](https://github.com/rubenlagus/TelegramBots/releases/tag/v2.4.1) + 2. Using Jitpack from [here](https://jitpack.io/#rubenlagus/TelegramBots/v2.4.2) + 3. Download the jar(including all dependencies) from [here](https://github.com/rubenlagus/TelegramBots/releases/tag/v2.4.2) In order to use Long Polling mode, just create your own bot extending `org.telegram.telegrambots.bots.TelegramLongPollingBot`. diff --git a/TelegramBots.wiki/Changelog.md b/TelegramBots.wiki/Changelog.md index ea7af23b..24b3bb17 100644 --- a/TelegramBots.wiki/Changelog.md +++ b/TelegramBots.wiki/Changelog.md @@ -1,4 +1,4 @@ -### 2.4.1 ### +### 2.4.2 ### 1. Split library in two modules to allow custom implementations. 2. Use [Guice](https://github.com/google/guice) for dependency injection. 3. Use [Jackson](https://github.com/FasterXML/jackson) for json (de)serialization. @@ -8,4 +8,4 @@ 7. In `SentCallback` method `onError` changed second parameter to `TelegramApiRequestException` and `onResult` now receives the deserialized answer (of type `T`) instead of a `JSONObject` as second parameter 8. Moved to MIT license -**[[How to update to version 2.4.1|How-To-Update#2.4.1]]** \ No newline at end of file +**[[How to update to version 2.4.2|How-To-Update#2.4.2]]** \ No newline at end of file diff --git a/TelegramBots.wiki/Getting-Started.md b/TelegramBots.wiki/Getting-Started.md index a44eebaf..ac48aaa6 100644 --- a/TelegramBots.wiki/Getting-Started.md +++ b/TelegramBots.wiki/Getting-Started.md @@ -11,13 +11,13 @@ First you need ot get the library and add it to your project. There are few poss org.telegram telegrambots - 2.4.1 + 2.4.2 ``` * With **Gradle**: ```groovy - compile group: 'org.telegram', name: 'telegrambots', version: '2.4.1' + compile group: 'org.telegram', name: 'telegrambots', version: '2.4.2' ``` 2. Don't like **Maven Central Repository**? It can also be taken from [Jitpack](https://jitpack.io/#rubenlagus/TelegramBots). diff --git a/TelegramBots.wiki/How-To-Update.md b/TelegramBots.wiki/How-To-Update.md index efdf8c81..572218e8 100644 --- a/TelegramBots.wiki/How-To-Update.md +++ b/TelegramBots.wiki/How-To-Update.md @@ -1,4 +1,4 @@ -### To version 2.4.1 ### +### To version 2.4.2 ### 1. Replace `BotOptions` by `DefaultBotOptions`. 2. At the beginning of your program (before creating your `TelegramBotsApi` instance, add the following line: ```java diff --git a/pom.xml b/pom.xml index 8c2b3bb3..0292ae79 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ org.telegram Bots pom - 2.4.1 + 2.4.2 telegrambots @@ -24,6 +24,6 @@ true - 2.4.1 + 2.4.2 \ No newline at end of file diff --git a/telegrambots-meta/pom.xml b/telegrambots-meta/pom.xml index 917bc462..77529b38 100644 --- a/telegrambots-meta/pom.xml +++ b/telegrambots-meta/pom.xml @@ -5,7 +5,7 @@ 4.0.0 org.telegram telegrambots-meta - 2.4.1 + 2.4.2 jar Telegram Bots Meta diff --git a/telegrambots/pom.xml b/telegrambots/pom.xml index d788ff77..fbbf2e76 100644 --- a/telegrambots/pom.xml +++ b/telegrambots/pom.xml @@ -5,7 +5,7 @@ 4.0.0 org.telegram telegrambots - 2.4.1 + 2.4.2 jar Telegram Bots @@ -60,7 +60,7 @@ 20160810 2.8.5 2.5 - 2.4.1 + 2.4.2