Description Usage Arguments Details See Also Examples
View source: R/client_telegram.R
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.
1 | 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.
is.client_telegram
, send_message
1 2 3 4 | client <- client_telegram("my_token")
# Variant with default parameters set
client2 <- client_telegram("my_token", message = "Default message template")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.