Oko/Docs

Command reference

oko contact imessage show

Reads where the `imessage` channel writes and through which relay, each part with where it was read from.

Invocation#

Command
oko contact imessage show [--json]

Inputs and options#

  • None.

Output and state effect#

  • Prints `handle` and `relay`; with --json `{handle, url, sender, relay_from}`, the document Oko Desktop shows.

Refusals and safe exits#

  • `the imessage channel has no iMessage handle of yours: the Oko Desktop setting oko.contact.imessageHandle is not set; save it on Oko Desktop → Requests → iMessage from Oko itself, or run `oko contact imessage set --handle HANDLE`` (exit 1), and the relay sentence of `set` when the Ultrareach address or sender is missing. `oko contact set` refuses to choose `imessage` with the same sentence, so a channel that could reach nobody is never chosen.

CLI reference#