# NOT RUN {
bot <- Bot(token = bot_token("RTelegramBot"))
chat_id <- user_id("Me")
document_url <- "https://github.com/ebeneditos/telegram.bot/raw/gh-pages/docs/telegram.bot.pdf"
bot$sendDocument(chat_id = chat_id,
document = document_url)
# }
Run the code above in your browser using DataLab