The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
This vignette demonstrates how to download channel data with
telegramR using the high‑level helpers.
To keep the vignette reproducible, the outputs below come from a bundled sample dataset. The commands shown are the real calls you would use against Telegram.
# Download the most recent 200 messages from a channel
msgs <- download_channel_messages(
client,
"telegram",
limit = 200
)msgs
#> # A tibble: 11,605 × 18
#> message_id channel_id channel_username channel_title date
#> <dbl> <dbl> <chr> <chr> <dttm>
#> 1 18225 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:55:27
#> 2 18224 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:59
#> 3 18223 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> 4 18222 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> 5 18221 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> 6 18220 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> 7 18219 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> 8 18218 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> 9 18217 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> 10 18216 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> # ℹ 11,595 more rows
#> # ℹ 13 more variables: text <chr>, views <dbl>, forwards <dbl>, replies <dbl>,
#> # reactions_total <dbl>, reactions_json <chr>, media_type <chr>,
#> # is_forward <lgl>, forward_from_id <dbl>, forward_from_name <chr>,
#> # reply_to_msg_id <dbl>, edit_date <dttm>, post_author <chr>The returned tibble includes a compact, analysis‑ready schema:
message_id, date, textviews, forwards, repliesreactions_total, reactions_jsonmedia_type, is_forward,
forward_from_id, forward_from_message_id,
forward_saved_from_message_id,
forward_from_namereply_to_msg_id, edit_date,
post_authorchannel_id, channel_username,
channel_titleinfo
#> # A tibble: 1 × 13
#> channel_id username title description subscribers region channel_type
#> <dbl> <chr> <chr> <chr> <dbl> <chr> <chr>
#> 1 1463721328 V_Zelenskiy_offi… Zele… Офіційний … 684326 <NA> channel
#> # ℹ 6 more variables: created_date <dttm>, is_verified <lgl>,
#> # is_restricted <lgl>, linked_chat_id <dbl>, download_date <dttm>,
#> # last_message_id <dbl>This returns the latest message id as an upper‑bound estimate.
reactions
#> # A tibble: 200 × 7
#> message_id channel_id channel_username channel_title date
#> <dbl> <dbl> <chr> <chr> <dttm>
#> 1 18225 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:55:27
#> 2 18224 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:59
#> 3 18223 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> 4 18222 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> 5 18221 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> 6 18220 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> 7 18219 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> 8 18218 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> 9 18217 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> 10 18216 1463721328 V_Zelenskiy_official Zelenskiy / O… 2026-03-06 11:06:58
#> # ℹ 190 more rows
#> # ℹ 2 more variables: reactions_total <dbl>, reactions_json <chr>All helpers accept a numeric channel id if it is available in your session cache:
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.