Client extending a client_sendeR
for the Telegram
service. In addition to any fields in the client_sendeR
this one
contains telegram_token
which is needed to send a message via
the Telegram Bot API. For additional information on how to get required
telegram_token
see details.
client_telegram(telegram_token, ...)
telegram_token | a bot token given by the BotFather. |
---|---|
... | named arguments with additional fields which will be passed to
|
To create your own telegram bot refer to https://core.telegram.org/bots#6-botfather.
client <- client_telegram("my_token") # Variant with default parameters set client2 <- client_telegram("my_token", message = "Default message template")