commit
93043c4c98
@ -31,12 +31,14 @@ Just import add the library to your project with one of these options:
|
||||
</dependency>
|
||||
```
|
||||
|
||||
2. Using Gradle:
|
||||
|
||||
```gradle
|
||||
compile "org.telegram:telegrambots:5.0.1"
|
||||
implementation 'org.telegram:telegrambots:5.0.1'
|
||||
```
|
||||
|
||||
2. Using Jitpack from [here](https://jitpack.io/#rubenlagus/TelegramBots/5.0.1)
|
||||
3. Download the jar(including all dependencies) from [here](https://mvnrepository.com/artifact/org.telegram/telegrambots/5.0.1)
|
||||
3. Using Jitpack from [here](https://jitpack.io/#rubenlagus/TelegramBots/5.0.1)
|
||||
4. Download the jar(including all dependencies) from [here](https://mvnrepository.com/artifact/org.telegram/telegrambots/5.0.1)
|
||||
|
||||
In order to use Long Polling mode, just create your own bot extending `org.telegram.telegrambots.bots.TelegramLongPollingBot`.
|
||||
|
||||
|
@ -16,8 +16,8 @@ First you need ot get the library and add it to your project. There are few poss
|
||||
```
|
||||
* With **Gradle**:
|
||||
|
||||
```groovy
|
||||
compile group: 'org.telegram', name: 'telegrambots', version: '5.0.1'
|
||||
```gradle
|
||||
implementation 'org.telegram:telegrambots:5.0.1'
|
||||
```
|
||||
|
||||
2. Don't like **Maven Central Repository**? It can also be taken from [Jitpack](https://jitpack.io/#rubenlagus/TelegramBots).
|
||||
|
@ -13,8 +13,8 @@ As with any Java project, you will need to set your dependencies.
|
||||
</dependency>
|
||||
```
|
||||
* **Gradle**
|
||||
```groovy
|
||||
implementation group: 'org.telegram', name: 'telegrambots-abilities', version: '5.0.1'
|
||||
```gradle
|
||||
implementation 'org.telegram:telegrambots-abilities:5.0.1'
|
||||
```
|
||||
* [JitPack](https://jitpack.io/#rubenlagus/TelegramBots)
|
||||
|
||||
|
@ -25,7 +25,7 @@ Usage
|
||||
**Gradle**
|
||||
|
||||
```gradle
|
||||
compile "org.telegram:telegrambots-abilities:5.0.1"
|
||||
implementation 'org.telegram:telegrambots-abilities:5.0.1'
|
||||
```
|
||||
|
||||
**JitPack** - [JitPack](https://jitpack.io/#rubenlagus/TelegramBots/v5.0.1)
|
||||
|
@ -19,6 +19,12 @@ Usage
|
||||
</dependency>
|
||||
```
|
||||
|
||||
**Gradle**
|
||||
|
||||
```gradle
|
||||
implementation 'org.telegram:telegrambots-chat-session-bot:5.0.1'
|
||||
```
|
||||
|
||||
Motivation
|
||||
----------
|
||||
Implementation of bot dialogs require saving some data about current state of conversation.
|
||||
|
@ -23,5 +23,5 @@ Just import add the library to your project with one of these options:
|
||||
2. Using Gradle:
|
||||
|
||||
```gradle
|
||||
compile "org.telegram:telegrambotsextensions:5.0.1"
|
||||
implementation 'org.telegram:telegrambotsextensions:5.0.1'
|
||||
```
|
@ -25,7 +25,7 @@ Usage
|
||||
**Gradle**
|
||||
|
||||
```gradle
|
||||
compile "org.telegram:telegrambots-spring-boot-starter:5.0.1"
|
||||
implementation 'org.telegram:telegrambots-spring-boot-starter:5.0.1'
|
||||
```
|
||||
|
||||
Motivation
|
||||
|
Loading…
Reference in New Issue
Block a user