Personal repo: just playing and trying to automate some social media interactions.

Telegram bot key

Add in .Renviron


data/telegram.cnf "telegram_name_bot" id_groupchat_to_listen
chat.home: id_groupchat_to_post
patternLvl1: "http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\\(\\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+"
patternLvl2: "http[s]?://(||*"


consumer_key: "consumer_key"
consumer_secret: "consumer_secret"
access_token: "access_token"
access_token_secret: "access_token_secret"

rds with last message id

path: inst/extdata/telegram_id.rds

Install and run

You will need to install dependencies before build. Just install what it says on warning and error messages until it build.

git clone
R CMD build secretary
R CMD INSTALL --library=/your/lib/R/path secretary_0.0.3.tar.gz
cd secretary

humbertcostas/secretary documentation built on May 17, 2019, 9:13 p.m.