maton slack conversation open

Open a DM (or group DM with multiple users) — or resume an existing conversation

maton slack conversation open [flags]

Options

-c, --channel <string>
Resume an existing conversation by ID (one of --users/--channel)
--connection <string>
Connection ID to route through (Maton-Connection header)
--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
--paginate
Follow next_cursor and concatenate all pages (list commands only)
--return-im
Return the full IM channel object
--template <string>
Format JSON output using a Go template; see "maton help formatting"
--users <string>
Comma-separated user IDs to open a DM with (one of --users/--channel)

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 conversation open --users U0123456789
$ maton slack conversation open --users U0123456789,U9876543210
$ maton slack conversation open --channel D0123456789

See also