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
)

Arguments

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_results rounded up to a multiple of limit. Default: Inf

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

Value

A list of channel messages with class "conversations.history".

Details

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 ....