Learn R Programming

telegram.bot (version 2.0.0)

user_id: user_id

Description

Obtain Telegram user id from system variables (in Renviron) set according to the naming convention R_TELEGRAM_USER_X where X is the user's name.

Usage

user_id(user_name)

Arguments

user_name

The user's name

Examples

Run this code
# NOT RUN {
user_id('me')
# }

Run the code above in your browser using DataLab