View source: R/conversations.R
conversations | R Documentation |
Retrieve conversations from a channel on a Slack team.
conversations(
channel,
...,
token = Sys.getenv("SLACK_API_TOKEN"),
max_results = Inf,
max_calls = Inf,
limit = 1000L
)
channel |
Character. Channel name to retrieve conversation from. |
... |
Arguments to pass to method |
token |
Character. Your Slack API token. Default: Sys.getenv("SLACK_API_TOKEN") |
max_results |
Integer. The maximum number of results to return (total).
Note: The actual maximum will be |
max_calls |
Integer. The maximum number of separate API calls to make while constructing the response. Default: Inf |
limit |
Numeric, maximum number of results per call. Default: 1000L |
To use the method, you'll need at least one of the channels, groups, im or mpim scopes corresponding to the conversation type you're working with.
See Slack Documentation for more details on the arguments that the method can recieve in ....
A list of channel messages with class "conversations.history".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.