I am working on Telegram bot api in my java application. I created a supergroup and will add a bot to this as an administrator. I want to receive all messages in this supergroup (not deleted messages) through the bot. Is there any useful method to do this?
Yes. First, you must "disable" the privacy of your bot so that it can access all messages in groups. secondly, use getUpdates to see the latest updates, and user messages will be there.
getUpdates
Source: https://habr.com/ru/post/1258294/More articles:Angular 2 AOT does not work. Why does "platformBrowser (). BootstrapModuleFactory" pull out links with the additional prefix "/ src / linker / ng_module_factory? - angularPython 3: Sphinx doesn't display type hints correctly - python-3.5WPF DataContext works differently in seemingly identical situations - c #Why can't I install the Cassandra driver? - pythonCreate signed URLs for google cloud storage using node.js for direct download from browser - javascriptCreate Typescript TypeChecker without using ts.createProgram? - typescriptis there any way to enable scaling of MKMapView only in a specific region when disabling any other user interaction? - iosSwift 3: error: ambiguous reference to the element '>' - swiftword2vec - get the closest words - tensorflowUsing Docker, I get the error: "SQLSTATE [HY000] [2002] There is no such file or directory" - phpAll Articles