chat_manage.Rd
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") ) # S3 method for default chat_update( post = NULL, channel = NULL, ts = NULL, ..., token = Sys.getenv("SLACK_API_TOKEN") ) # S3 method for default chat_delete( post = NULL, channel = NULL, ts = NULL, ..., token = Sys.getenv("SLACK_API_TOKEN") ) # S3 method for slackpost chat_update( post = NULL, channel = NULL, ts = NULL, ..., token = Sys.getenv("SLACK_API_TOKEN") ) # S3 method for 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 |
A list with an additional class corresponding to slack_method
.
Arguments that can be passed include 'text', 'blocks'