bot_token: bot_token

bot_tokenR Documentation

bot_token

Description

Obtain token from system variables (in Renviron) set according to package naming conventions, that is R_TELEGRAM_BOT_ where X is bot's name (first question answered to the botfather).

Usage

bot_token(x)

Arguments

x

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

Examples

## Not run:  bot_token('RBot') 

lbraglia/telegram documentation built on May 14, 2024, 1:16 p.m.