powered by
Starts polling updates from Telegram. You can stop the polling either by using the the interrupt R command in the session menu or with the stop_polling method.
interrupt R
stop_polling
start_polling(timeout = 10, clean = FALSE, allowed_updates = NULL, verbose = FALSE)
(Optional). Passed to getUpdates. Default is 10.
getUpdates
(Optional). Whether to clean any pending updates on Telegram servers before actually starting to poll. Default is FALSE.
FALSE
(Optional). Passed to getUpdates.
(Optional). If TRUE, prints status of the polling. Default is FALSE.
TRUE
# NOT RUN { # Start polling example updater <- Updater(token = 'TOKEN') updater$start_polling(verbose = TRUE) # }
Run the code above in your browser using DataLab