Skip to content

Commit c6d5d8a

Browse files
author
Stanislav Parshin
committed
Update README.md
1 parent 37edfe3 commit c6d5d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ String fullPath = bot.getFullFilePath(file); // com.pengrad.telegrambot.model.F
108108
#### Inline mode
109109
Getting updates
110110
```java
111-
GetUpdatesResponse updatesResponse = bot.getUpdates(offset, limit, timeout);
111+
GetUpdatesResponse updatesResponse = bot.execute(new GetUpdates());
112112
List<Update> updates = updatesResponse.updates();
113113
...
114114
InlineQuery inlineQuery = update.inlineQuery();

0 commit comments

Comments
 (0)