sendtg_check: Checking the Telegram API Setup in R

Description Usage Value Examples

Description

This function checks whether the setup with your .REnviron was done correctly. It uses the 'telegram.bot::getMe()' to return the relevant information. If the setup was done incorrectly, it will return an error. Most likely a token issue.

Usage

1

Value

returns a list with 'id', 'is_bot', 'first_name', and 'username'

Examples

1
2
3
4
## Not run: 
sendtg_check()

## End(Not run)

eugejoh/sendtg documentation built on June 1, 2019, 11:43 a.m.