BasicMessage

fmgp.did.comm.protocol.basicmessage2.BasicMessage
See theBasicMessage companion object
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.

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

Members list

Concise view

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product