maton slack message list

List messages in a channel

maton slack message list [flags]

Options

-c, --channel <string>
Channel ID (required)
--connection <string>
Connection ID to route through (Maton-Connection header)
--cursor <string>
Pagination cursor from previous response
--dry-run
Print the request that would be sent without executing it
--format <string>
Output format: 'json' (default) or 'text' on supported commands
-q, --jq <expression>
Filter JSON output using a jq expression
--latest <string>
End of time range (Unix timestamp)
-L, --limit <int> (default 20)
Max results per page
--oldest <string>
Start of time range (Unix timestamp)
--paginate
Follow next_cursor and concatenate all pages (list commands only)
--template <string>
Format JSON output using a Go template; see "maton help formatting"

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

Examples

$ maton slack message list --channel C0123456789
$ maton slack message list --channel C0123456789 --limit 50 --oldest 1700000000
$ maton slack message list --channel C0123456789 --format text

See also