fmgp.did.comm.protocol.basicmessage2

Members list

Concise view

Type members

Classlikes

final case class BasicMessage(id: MsgID, to: Set[TO], from: Option[FROM], lang: Option[String], created_time: Option[UTCEpoch], content: String)

The Basic Message is sent by the sender to the recipient.

The Basic Message is sent by the sender to the recipient.

Note that the role is only specific to the creation of messages, and that both parties may play both roles.

{
"id": "123456780",
"type": "https://didcomm.org/basicmessage/2.0/message",
"lang": "en",
"created_time": 1547577721,
"body": {
"content": "Your hovercraft is full of eels."
}
}

Attributes

lang

See [https://identity.foundation/didcomm-messaging/spec/#internationalization-i18n]

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Extensions

Extensions