NornsSdk.MessageResult (norns_sdk v0.1.0)

Copy Markdown View Source

The result of NornsSdk.Client.send_message/4.

When called without wait: true, status is the accepted status and output is nil. With wait: true, they reflect the terminal run state.

Summary

Types

t()

@type t() :: %NornsSdk.MessageResult{
  conversation_key: String.t() | nil,
  output: String.t() | nil,
  run_id: integer(),
  status: String.t()
}