fmgp.did.comm.protocol.basicmessage2

Members list

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."
}
}

Value parameters

lang

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

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object BasicMessage

Attributes

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

Extensions

Extensions