Closes #319
This commit is contained in:
parent
6db6c4bf0d
commit
7a83b45a91
@ -1,6 +1,6 @@
|
|||||||
### <a id="2.4.3"></a>To version 2.4.3 ###
|
### <a id="2.4.3"></a>To version 2.4.3 ###
|
||||||
1. Replace `BotOptions` by `DefaultBotOptions`.
|
1. Replace `BotOptions` by `DefaultBotOptions`.
|
||||||
2. At the beginning of your program (before creating your `TelegramBotsApi` instance, add the following line:
|
2. At the beginning of your program (before creating your `TelegramBotsApi` or `Bot` instance, add the following line:
|
||||||
```java
|
```java
|
||||||
ApiContextInitializer.init();
|
ApiContextInitializer.init();
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user