user_id {telegram}R Documentation

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

## Not run:  user_id('me') 

[Package telegram version 0.6.0 Index]