-
-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TelegramBot.setUpdatesListener(UpdatesListener, GetUpdates) #105
Comments
Hi, https://github.com/pengrad/java-telegram-bot-api#updates-listener |
I already tried this, but it doesn't seem to work for me. What else can I do? |
I'm afraid it can happens because And return here if it will work for you |
I get the right Updates both on https://api.telegram.org/botTOKEN/getUpdates and https://rapidapi.com/package/TelegramBot/functions/getUpdates. The problem is not in the Telegram API, but how to confirm incoming Updates via the |
I dont handle |
Btw, returning |
Can you post a snippet of any bot of yours code for comparison? |
I fixed it in 3.2.0 together with Sticker updates. |
Hi,
I am having some problems here: when I run the application it prints out the same first
Update
in an infinite loop, acting like it doesn't confirm it. I'm pretty sure it's an offset issue, though I don't understand how to increment its value like you explained in your documentation, since I am using theUpdatesListener
with the getUpdates request and not just the second one - using this because I need to filter only some kind ofUpdate
s. Could you clarify me how to achieve this?Here's part of the code:
Thanks in advance.
The text was updated successfully, but these errors were encountered: