telegramR: Interact with the 'Telegram' 'MTProto' API

Provides a full-featured client for the 'Telegram' 'MTProto' protocol (<https://core.telegram.org/api>), enabling programmatic access to 'Telegram' chats, channels, messages, media, and stories. Implements binary encoding and decoding of the 'Telegram' 'TL' (Type Language) schema, authentication (including two-factor), encrypted transport, and high-level helpers for downloading channel history and reactions at scale. Intended for social-science research and data collection tasks that require direct API access rather than the 'Bot API'.

Version: 0.0.1
Depends: R (≥ 3.5.0)
Imports: Rcpp (≥ 1.0.0), digest (≥ 0.6.37), openssl (≥ 2.2.2), base64enc (≥ 0.1-3), jsonlite (≥ 1.8.9), R6, future, httr, logger, promises, later, bitops, gmp, xml2, mime, tibble, dplyr, callr
LinkingTo: Rcpp
Suggests: data.table, testthat (≥ 3.0.0), withr, exiftoolr, fs, getPass, magick, knitr, rmarkdown, ggplot2, lubridate, tidyr, covr, devtools, readr, stringr, stopwords, RColorBrewer, scales, stringi
Published: 2026-06-02
DOI: 10.32614/CRAN.package.telegramR (may not be active yet)
Author: Roman Kyrychenko [aut, cre, cph]
Maintainer: Roman Kyrychenko <roman.kyrychenko at helsinki.fi>
BugReports: https://github.com/RomanKyrychenko/telegramR/issues
License: MIT + file LICENSE
URL: https://romankyrychenko.github.io/telegramR/, https://github.com/RomanKyrychenko/telegramR
NeedsCompilation: yes
Citation: telegramR citation info
Materials: README, NEWS
CRAN checks: telegramR results

Documentation:

Reference manual: telegramR.html , telegramR.pdf
Vignettes: Channel Interactions: Members, Replies, and Reactions (source, R code)
Downloading Channel Data (source, R code)
Downloading Channel Media (source, R code)
Studying Zelenskiy / Official: War, Peace, and Language (source, R code)

Downloads:

Package source: telegramR_0.0.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): telegramR_0.0.1.tgz, r-oldrel (arm64): telegramR_0.0.1.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=telegramR to link to this page.