For now, have only made the message id and offering ids strongly typed. parent/thread id are still strings - can discuss if this feels weird and we want parent/thread ids strongly typed as well. It's just slightly weird with parent id because the type depends on which message type you're responding to.
Some other notes:
offering ids are namespaced by offering
message ids are namespaced by the message type
message id continues to exist outside of body, but is moved out of the metadata type because it needs to know about the type.
For now, have only made the message id and offering ids strongly typed. parent/thread id are still strings - can discuss if this feels weird and we want parent/thread ids strongly typed as well. It's just slightly weird with parent id because the type depends on which message type you're responding to.
Some other notes:
body
, but is moved out of themetadata
type because it needs to know about the type.