Telegram is a popular platform for public communication, generating large amounts of messages through its channels. pytopicgram is a Python library that helps researchers collect, organize, and analyze these Telegram messages. The library offers key features such as easy message retrieval, detailed channel information, engagement metrics, and topic identification using advanced modeling techniques. By simplifying data extraction and analysis, pytopicgram allows users to understand how content spreads and how audiences interact on Telegram. This paper describes the design, main features, and practical uses of \pytopicgram, showcasing its effectiveness for studying public conversations on Telegram.
View on arXiv@article{gómez-romero2025_2502.04882, title={ pytopicgram: A library for data extraction and topic modeling from Telegram channels }, author={ J. Gómez-Romero and J. Cantón Correa and R. Pérez Mercado and F. Prados Abad and M. Molina-Solana and W. Fajardo }, journal={arXiv preprint arXiv:2502.04882}, year={ 2025 } }