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
)
Character. Channel name to retrieve conversation from.
Arguments to pass to method
Character. Your Slack API token. Default: Sys.getenv("SLACK_API_TOKEN")
Integer. The maximum number of results to return (total).
Note: The actual maximum will be max_results
rounded up to a
multiple of limit
. Default: Inf
Integer. The maximum number of separate API calls to make while constructing the response. Default: Inf
Numeric, maximum number of results per call. Default: 1000L
A list of channel messages with class "conversations.history".
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 ....