commit
c0262ceda0
@ -15,7 +15,7 @@ I recommend using getUpdates methods.
|
||||
|
||||
## Usage
|
||||
|
||||
Just import add the library to your project using [Maven, Gradly, ...](https://jitpack.io/#rubenlagus/TelegramBots/v2.3.3) or download the jar(including all dependencies) from [here](https://github.com/rubenlagus/TelegramBots/releases/tag/v2.3.3)
|
||||
Just import add the library to your project using [Maven, Gradly, ...](https://jitpack.io/#rubenlagus/TelegramBots/v2.3.3.1) or download the jar(including all dependencies) from [here](https://github.com/rubenlagus/TelegramBots/releases/tag/v2.3.3.1)
|
||||
|
||||
In order to use Long Polling mode, just create your own bot extending `org.telegram.telegrambots.bots.TelegramLongPollingBot`.
|
||||
|
||||
|
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
<packaging>jar</packaging>
|
||||
<groupId>org.telegram</groupId>
|
||||
<artifactId>telegrambots</artifactId>
|
||||
<version>2.3.3</version>
|
||||
<version>2.3.3.1</version>
|
||||
|
||||
<name>Telegram Bots</name>
|
||||
<url>https://telegram.me/JavaBotsApi</url>
|
||||
|
@ -25,7 +25,7 @@ public class Update implements IBotApiObject {
|
||||
private static final String INLINEQUERY_FIELD = "inline_query";
|
||||
private static final String CHOSENINLINEQUERY_FIELD = "chosen_inline_result";
|
||||
private static final String CALLBACKQUERY_FIELD = "callback_query";
|
||||
private static final String EDITEDMESSAGE_FIELD = "callback_query";
|
||||
private static final String EDITEDMESSAGE_FIELD = "edited_message";
|
||||
@JsonProperty(UPDATEID_FIELD)
|
||||
private Integer updateId;
|
||||
@JsonProperty(MESSAGE_FIELD)
|
||||
|
Loading…
Reference in New Issue
Block a user