user_id: user_id

user_idR 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 value returned

Examples

## Not run:  user_id('me') 

telegram documentation built on April 3, 2025, 8:53 p.m.