if (FALSE) {
document_url <- paste0(
"https://github.com/ebeneditos/telegram.bot/raw/gh-pages/docs/",
"telegram.bot.pdf"
)
result <- InlineQueryResult(
type = "document",
id = 1,
title = "Documentation",
document_url = document_url,
mime_type = "application/pdf"
)
}
Run the code above in your browser using DataLab