Loading...
mutiro user conversation id

Get conversation ID with a specific user

Synopsis

Get the conversation ID for a direct message conversation with a specific user.

This command is useful for scripts and tests that need to retrieve the conversation ID to use with other commands like 'user read'.

If no conversation exists with the user, it returns an empty result.

Examples:

Get conversation ID with alice

mutiro user conversation id alice

Use in a script

CONV_ID=$(mutiro user conversation id alice) mutiro user message read "$CONV_ID"

mutiro user conversation id [your-username] [flags]

Usage mutiro user conversation id [your-username] [flags]
Examples

Get conversation ID with alice

mutiro user conversation id alice

Use in a script

mutiro user message read "$CONV_ID"
Options
Flag Type Description
-h, --help bool help for id
Global Options
Flag Type Description
--config string config file (default is ./.mutiro.yaml in current directory)
--debug bool debug mode
-v, --verbose bool verbose output
Subcommands
See Also
mutiro user conversation