post_sessioninfo.Rd
Post sessioninfo to Slack as a snippet
post_sessioninfo( channel, ts = NULL, initial_comment = NULL, ..., token = Sys.getenv("SLACK_API_TOKEN") )
channel | character, channel to post to |
---|---|
ts | character, Slack API time stamp, Default: NULL |
initial_comment | character, comment that precedes the snippet, Default: NULL |
... | arguments passed to sessioninfo::session_info() if installed else passed to sessionInfo() |
token | Slack API token, Default: Sys.getenv("SLACK_API_TOKEN") |
response from Slack api
channel
can be on of the following in an activated team
name of channel
channel id
link to a message in a channel, direct message or a group message
A pairing of channel
and ts
can be used instead of a link to post to a thread.