java-telegram-bot-api
java-telegram-bot-api copied to clipboard
Telegram Bot API for Java
**The situation is the same as described on 25 April 2019 (https://github.com/pengrad/java-telegram-bot-api/issues/160#issue-437322657). The difference is that we changed the server, a new installation. But from what I understood at the...
Make deploy button https://devcenter.heroku.com/articles/heroku-button for heroku template https://github.com/pengrad/telegram-bot-heroku
Call all methods as bot methods: ```java SendResponse response = bot.sendMessage(chatId, "Hello") .parseMode(ParseMode.Markdown) .execute(); ``` Async ```java bot.sendMessage(chatId, "Hello") .parseMode(ParseMode.Markdown) .execute(callback); ``` `execute(callback)` or `execute(onSuccess, onFailure)`?
See https://github.com/pengrad/java-telegram-bot-api/issues/168#issuecomment-503455398
There is unable to configure preview options in `sendMessage` method because `LinkPreviewOptions` doesn't have any setters Issue: https://github.com/pengrad/java-telegram-bot-api/issues/361
Hello, in version 7.0 method Message.forwardOrigin() is private, the others fordward* are deprecated. How to get fordwardOrigin()? Thanks in advance.