'Simplest way to retrieve all messages of a Telegram channel in Java?
I hope this question is not too general.
I'm looking for a way to retrieve all the messages (including media) that have been posted on a Telegram channel, and also all the comments to each message (including commonly available metadata about the author, time of post, etc...) in Java.
I'm having a very hard time to find a solution: search results are polluted with the Telegram Bot API, which is, as far as I understand it, not what I need. I've seen there is a TDlib library with JNI bindings, which seems a pain in the ass to install. I've also found this Maven repository for org.telegram.telegramapi, but I have not been able to find a simple code snippet that explains how to initialize the library and perform the most common operations.
What is the best solution here? Is it one of the two I listed or I am missing something?
Solution 1:[1]
Check this, there is some language's example: https://github.com/tdlib/td/tree/master/example
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Szabo Gabor |