View source: R/inlinequeryresult.R
| InlineQueryResult | R Documentation |
Baseclass for the InlineQueryResult* classes.
InlineQueryResult(type, id, ...)
is.InlineQueryResult(x)
type |
Type of the result. See the documentation for a list of supported types. |
id |
Unique identifier for this result, 1-64 Bytes. |
... |
Additional parameters for the selected type. See the
documentation
for the description of the
parameters depending on the |
x |
Object to be tested. |
## Not run:
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"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.