telegram (version 0.6.0)

user_id: user_id

Description

Obtain telegram user id from system variables (in Renviron) set according to package naming conventions, that is R_TELEGRAM_USER_X where is the user's name .

Usage

user_id(x)

Arguments

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

Examples

Run this code
## Not run:  user_id('me') 

Run the code above in your browser using DataLab