We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37edfe3 commit c6d5d8aCopy full SHA for c6d5d8a
README.md
@@ -108,7 +108,7 @@ String fullPath = bot.getFullFilePath(file); // com.pengrad.telegrambot.model.F
108
#### Inline mode
109
Getting updates
110
```java
111
-GetUpdatesResponse updatesResponse = bot.getUpdates(offset, limit, timeout);
+GetUpdatesResponse updatesResponse = bot.execute(new GetUpdates());
112
List<Update> updates = updatesResponse.updates();
113
...
114
InlineQuery inlineQuery = update.inlineQuery();
0 commit comments