TelegramBots/TelegramBots.wiki/How-To-Update.md
Ruben Bermudez 0c03ab093f Move separate commits (#157)
* 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
2016-11-17 02:41:12 +01:00

553 B

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:
    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.