bot_token: bot_token

Description Usage Arguments Examples

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

1

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

1
## Not run:  bot_token('RBot') 

Example output



telegram documentation built on May 1, 2019, 8:05 p.m.