50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


telegram.bot (version 2.2.0)

user_id: Get a user from environment

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