chat_message | R Documentation |
Send, Edit or Delete a post from a channel based on the timestamp (ts).
chat_message(channel, ..., token = Sys.getenv("SLACK_API_TOKEN"))
chat_update(
post = NULL,
channel = NULL,
ts = NULL,
...,
token = Sys.getenv("SLACK_API_TOKEN")
)
chat_delete(
post = NULL,
channel = NULL,
ts = NULL,
...,
token = Sys.getenv("SLACK_API_TOKEN")
)
## Default S3 method:
chat_update(
post = NULL,
channel = NULL,
ts = NULL,
...,
token = Sys.getenv("SLACK_API_TOKEN")
)
## Default S3 method:
chat_delete(
post = NULL,
channel = NULL,
ts = NULL,
...,
token = Sys.getenv("SLACK_API_TOKEN")
)
## S3 method for class 'slackpost'
chat_update(
post = NULL,
channel = NULL,
ts = NULL,
...,
token = Sys.getenv("SLACK_API_TOKEN")
)
## S3 method for class 'slackpost'
chat_delete(
post = NULL,
channel = NULL,
ts = NULL,
...,
token = Sys.getenv("SLACK_API_TOKEN")
)
channel |
character, Channel ID |
... |
arguments to pass to API method. |
token |
Character. Your Slack API token. Default: Sys.getenv("SLACK_API_TOKEN") |
post |
slackpost class object that contains meta information to identify a post. |
ts |
character, timestamp |
Arguments that can be passed include 'text', 'blocks'
A list with an additional class corresponding to slack_method
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.