View Source MyspaceObject.Message (Myspace Object v0.1.0-alpha.2)

A message to be sent to a MyspaceObject.

Returns a JSON string, which can be signed and sent as a message to a MyspaceObject.

TODO:

  • Do lookup of public keys and delivery address. Could be local.
  • Sign the message.

Link to this section Summary

Link to this section Types

@type t() :: %{from: binary(), to: binary(), message: binary()}

Link to this section Functions

@spec new(binary(), binary(), binary()) :: binary()