-
java.lang.NullPointerException
at Bot.sendMsg(Bot.java:50)
at Bot.onUpdateReceived(Bot.java:41)
at java.util.ArrayList.forEach(Unknown Source)
at org.telegram.telegrambots.meta.generics.LongPo…
-
https://core.telegram.org/bots/api
-
Code that throws an exception in the update listener, in my case
`msg.newChatMembers().length` without checking makes the api jump into the `onFailure` block without throwing an exception or printin…
-
It seems like this library does not bother handling error response returned by telegram. For example,
`bot.execute(new SendMessage(666, "Hello!")` will simply return an empty response. (Except if yo…
-
```
var link1 = new InlineQueryResultArticle()
{
Id = "1",//Guid.NewGuid().ToString("N"),
Description = "Description",
DisableWebPagePreview …
a-a-k updated
5 years ago
-
I'm using the Telegram Bots API for the [Kafka Connect telegram sink](https://github.com/fbascheper/kafka-connect-telegram). Thanks to the [Snyk.io scanner](https://www.snyk.io) I've become aware of s…
-
who calls this method?
public Reply replyToButtons() {
Consumer action = upd -> responseHandler.replyToButtons(getChatId(upd), upd.getCallbackQuery().getData());
return Reply.…
-
When I try to execute a command with bot.onText and then use bot.sendMessage(chatId, "Message");
It will count all messages due to `chatId ` but only echo when the right command is executed.
Ex:…
-
Hello
I am trying to get the group photo and then send it to a channel.
I used
GetChat to get the group info. Then I tried using SendPhoto to send the photo after setting the setPhoto to the bigFi…
-
https://github.com/pengrad/java-telegram-bot-api/blob/08bb06515e6ef222ff93d77b6e1e0eb3dd5eaafe/library/src/main/java/com/pengrad/telegrambot/impl/UpdatesHandler.java#L42
Hi,
could this method lead t…