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, ...)

Arguments

telegram_token

a bot token given by the BotFather.

...

named arguments with additional fields which will be passed to set_fields during client creation.

Details

To create your own telegram bot refer to https://core.telegram.org/bots#6-botfather.

See also

Examples

client <- client_telegram("my_token") # Variant with default parameters set client2 <- client_telegram("my_token", message = "Default message template")