diff --git a/README.md b/README.md
index dc9c13fd..63f3df71 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,7 @@ Just import add the library to your project with one of these options:
org.telegram
telegrambots
- 3.6.1
+ 4.0.0
```
diff --git a/TelegramBots.wiki/FAQ.md b/TelegramBots.wiki/FAQ.md
index a2094b30..eeac8dc7 100644
--- a/TelegramBots.wiki/FAQ.md
+++ b/TelegramBots.wiki/FAQ.md
@@ -88,7 +88,7 @@ There are several method to send a photo to an user using `sendPhoto` method: Wi
sendPhotoRequest.setPhoto(url);
try {
// Execute the method
- sendPhoto(sendPhotoRequest);
+ execute(sendPhotoRequest);
} catch (TelegramApiException e) {
e.printStackTrace();
}
@@ -103,7 +103,7 @@ There are several method to send a photo to an user using `sendPhoto` method: Wi
sendPhotoRequest.setPhoto(fileId);
try {
// Execute the method
- sendPhoto(sendPhotoRequest);
+ execute(sendPhotoRequest);
} catch (TelegramApiException e) {
e.printStackTrace();
}
@@ -118,7 +118,7 @@ There are several method to send a photo to an user using `sendPhoto` method: Wi
sendPhotoRequest.setNewPhoto(new File(filePath));
try {
// Execute the method
- sendPhoto(sendPhotoRequest);
+ execute(sendPhotoRequest);
} catch (TelegramApiException e) {
e.printStackTrace();
}
@@ -144,7 +144,7 @@ if (update.hasMessage() && update.getMessage().hasPhoto()) {
.setPhoto(f_id)
.setCaption("Photo");
try {
- sendPhoto(msg); // Call method to send the photo
+ execute(msg); // Call method to send the photo
} catch (TelegramApiException e) {
e.printStackTrace();
}
diff --git a/TelegramBots.wiki/Getting-Started.md b/TelegramBots.wiki/Getting-Started.md
index 96b06556..fc40ba56 100644
--- a/TelegramBots.wiki/Getting-Started.md
+++ b/TelegramBots.wiki/Getting-Started.md
@@ -11,7 +11,7 @@ First you need ot get the library and add it to your project. There are few poss
org.telegram
telegrambots
- 3.6.1
+ 4.0.0
```
* With **Gradle**:
diff --git a/TelegramBots.wiki/abilities/Simple-Example.md b/TelegramBots.wiki/abilities/Simple-Example.md
index 9b99679b..b2665bd7 100644
--- a/TelegramBots.wiki/abilities/Simple-Example.md
+++ b/TelegramBots.wiki/abilities/Simple-Example.md
@@ -9,7 +9,7 @@ As with any Java project, you will need to set your dependencies.
org.telegram
telegrambots-abilities
- 3.6.1
+ 4.0.0
```
* **Gradle**
diff --git a/telegrambots-abilities/README.md b/telegrambots-abilities/README.md
index 23a3aab2..46860945 100644
--- a/telegrambots-abilities/README.md
+++ b/telegrambots-abilities/README.md
@@ -18,7 +18,7 @@ Usage
org.telegram
telegrambots-abilities
- 3.6.1
+ 4.0.0
```
diff --git a/telegrambots-extensions/README.md b/telegrambots-extensions/README.md
index 4e5a3d10..de0dd00f 100644
--- a/telegrambots-extensions/README.md
+++ b/telegrambots-extensions/README.md
@@ -16,7 +16,7 @@ Just import add the library to your project with one of these options:
org.telegram
telegrambotsextensions
- 3.6.1
+ 4.0.0
```
diff --git a/telegrambots-spring-boot-starter/README.md b/telegrambots-spring-boot-starter/README.md
index 34b2cff5..13e06cdc 100644
--- a/telegrambots-spring-boot-starter/README.md
+++ b/telegrambots-spring-boot-starter/README.md
@@ -18,14 +18,14 @@ Usage
org.telegram
telegrambots-spring-boot-starter
- 3.6.1
+ 4.0.0
```
**Gradle**
```gradle
- compile "org.telegram:telegrambots-spring-boot-starter:3.6.1"
+ compile "org.telegram:telegrambots-spring-boot-starter:4.0.0"
```
Motivation