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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object BasicMessage
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
BasicMessage.type
Extensions
Extensions
extension (msg: PlaintextMessage)
In this article