R/client_gmail.R, R/client_sendeR.R, R/client_slack.R, and 4 more
send_message.RdThe send_message method for the client_sendeR
only serves as a placeholder.
# S3 method for client_gmail send_message( client, message, destination, verbose = FALSE, subject = "sendeR message", ... ) # S3 method for client_sendeR send_message(client, message, destination, verbose = FALSE, ...) # S3 method for client_slack send_message(client, message, destination = NULL, verbose = FALSE, ...) # S3 method for client_telegram send_message(client, message, destination, verbose = FALSE, ...) # S3 method for client_with_fields send_message(client, message, destination, verbose = FALSE, ...) send_message(client, message, destination, verbose = FALSE, ...)
| client | one of the clients created by the sendeR package. |
|---|---|
| message | a text body of the message to send. Should be a character vector of length one. |
| destination | a destination of the message. Should be a character vector of length one. For more details see Methods (by class) section below. |
| verbose | if is set to |
| subject | a subject of an email message. |
| ... |
|
Note: arguments to send_message function are
always prioritized over the client fields.
client_gmail: destination is a recipient's email address.
client_slack: destination is not used because the Slack
webhook is tied to a single channel.
client_telegram: destination is a recipient's chat id.