Перейти к содержанию

Фреймворк для создания Telegram ботов⚓︎

Данный фреймворк обладает мощным API для создания диалоговых Telegram ботов.

Добавляем зависимости⚓︎

Данный фреймворк имеет версии как для SpringBoot , так и для Quarkus Reactive .

Чтобы начать, выберете соответствующую вкладку и добавьте зависимости в свой проект.

Используйте стартер, чтобы быстро начать разработку

<!-- https://mvnrepository.com/artifact/dev.struchkov.godfather.telegram/telegram-bot-spring-boot-starter -->
<dependency>
    <groupId>dev.struchkov.godfather.telegram</groupId>
    <artifactId>telegram-bot-spring-boot-starter</artifactId>
    <version>0.0.51</version>
</dependency>
// https://mvnrepository.com/artifact/dev.struchkov.godfather.telegram/telegram-bot-spring-boot-starter
implementation 'dev.struchkov.godfather.telegram:telegram-bot-spring-boot-starter:0.0.51'

Реактивная версия

Почему нe extension?

Все будет, но не сразу 😉

<!-- https://mvnrepository.com/artifact/dev.struchkov.godfather.telegram/telegram-consumer-quarkus -->
<dependency>
    <groupId>dev.struchkov.godfather.telegram</groupId>
    <artifactId>telegram-consumer-quarkus</artifactId>
    <version>0.0.51</version>
</dependency>

<!-- https://mvnrepository.com/artifact/dev.struchkov.godfather.telegram/telegram-core-quarkus -->
<dependency>
    <groupId>dev.struchkov.godfather.telegram</groupId>
    <artifactId>telegram-core-quarkus</artifactId>
    <version>0.0.51</version>
</dependency>

<!-- https://mvnrepository.com/artifact/dev.struchkov.godfather.telegram/telegram-sender-quarkus -->
<dependency>
    <groupId>dev.struchkov.godfather.telegram</groupId>
    <artifactId>telegram-sender-quarkus</artifactId>
    <version>0.0.51</version>
</dependency>
// https://mvnrepository.com/artifact/dev.struchkov.godfather.telegram/telegram-consumer-quarkus
implementation 'dev.struchkov.godfather.telegram:telegram-consumer-quarkus:0.0.51'

// https://mvnrepository.com/artifact/dev.struchkov.godfather.telegram/telegram-core-quarkus
implementation 'dev.struchkov.godfather.telegram:telegram-core-quarkus:0.0.51'

// https://mvnrepository.com/artifact/dev.struchkov.godfather.telegram/telegram-sender-quarkus
implementation 'dev.struchkov.godfather.telegram:telegram-sender-quarkus:0.0.51'