* Update HOWTO.md (#155) - add video edition of this howto, only a draft - add two FAQ's * Update license to MIT * Update HOWTO.md (#155) - add video edition of this howto, only a draft - add two FAQ's * Update license to MIT * Migrate to separate modules * Move to separate modules * Move to separate modules * Move to separate modules
10 lines
553 B
Markdown
10 lines
553 B
Markdown
### <a id="2.4.1"></a>To version 2.4.1 ###
|
|
1. Replace `BotOptions` by `DefaultBotOptions`.
|
|
2. At the beginning of your program (before creating your `TelegramBotsApi` instance, add the following line:
|
|
```java
|
|
ApiContextInitializer.init();
|
|
```
|
|
3. **Deprecated** (will be removed in next version):
|
|
* `org.telegram.telegrambots.bots.BotOptions`. Use `org.telegram.telegrambots.bots.DefaultBotOptions` instead.
|
|
* `getPersonal` from `AnswerInlineQuery`. Use `isPersonal` instead.
|
|
* `FILEBASEURL` from `File`. Use `getFileUrl` instead. |