telegram (version 0.6.0)

bot_token: bot_token

Description

Obtain token from system variables (in Renviron) set according to package naming conventions, that is R_TELEGRAM_BOT_ where X is bot's name (first question answered to the botfather).

Usage

bot_token(x)

Arguments

x
character of length 1 with the name of the bot; if NULL a menu to choose between bot is displayed and the proper token returned

Examples

Run this code
## Not run:  bot_token('RBot') 

Run the code above in your browser using DataLab