post_block | R Documentation |
Post block to slack channel
post_block( block, channel, thread_ts = NULL, token = Sys.getenv("SLACK_API_TOKEN") )
block |
block element(s) |
channel |
character, Channel ID, label or a URL link to a message |
thread_ts |
character slack api timestamp of the format xxxxxxxxxx.xxxxxx, Default: NULL |
token |
Slack API token, Default: Sys.getenv("SLACK_API_TOKEN") |
response
Other post:
prep_channel()
## Not run: if(interactive()){ #EXAMPLE1 } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.