P
P
Polina2019-12-20 11:05:10
Java
Polina, 2019-12-20 11:05:10

Where can I get full Telegram bot libs for Java?

I took it from habr, from open git repositories. Everywhere only a part of either, or I have some kind of error when loading.
Including downloaded from here https://github.com/rubenlagus/TelegramBots
And for the code that I took and copied from example, there is no part of the libraries.
Is something wrong or should I look for another repository?
I would be grateful if there is a verified one.
Repository here https://github.com/Medigi27/TelegramBotJava

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Orkhan, 2019-12-21
Mezenina @medigi27

https://mvnrepository.com/artifact/org.telegram/te...
Connect a frame like Maven or Gradle. And then just add the required lib to your project with all the
Gradle dependencies

// https://mvnrepository.com/artifact/org.telegram/telegrambots
compile group: 'org.telegram', name: 'telegrambots', version: '4.4.0.2'

Maven
<!-- https://mvnrepository.com/artifact/org.telegram/telegrambots -->
<dependency>
    <groupId>org.telegram</groupId>
    <artifactId>telegrambots</artifactId>
    <version>4.4.0.2</version>
</dependency>

D
Dmitry Alexandrov, 2019-12-20
@jamakasi666

Make a project on maven, all dependents will be pulled up.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question