bot_token | R Documentation |
Obtain token from system variables (in .Renviron
) set
according to the naming convention R_TELEGRAM_BOT_X
where X
is the bot's name.
bot_token(bot_name)
bot_name |
The bot's name. |
## Not run: # Open the `.Renviron` file file.edit(path.expand(file.path("~", ".Renviron"))) # Add the line (uncomment and replace <bot-token> by your bot TOKEN): # R_TELEGRAM_BOT_RTelegramBot=<bot-token> # Save and restart R bot_token("RTelegramBot") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.