Get conversation ID with a specific user
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]
Get conversation ID with alice
Use in a script
| Flag | Type | Description |
|---|---|---|
| -h, --help | bool | help for id |
| Flag | Type | Description |
|---|---|---|
| --config | string | config file (default is ./.mutiro.yaml in current directory) |
| --debug | bool | debug mode |
| -v, --verbose | bool | verbose output |