Messages
Overview
Messages on Orbis allow you to submit content to Conversations.
Messages are text-based.
All messages are automatically encrypted and can only be read by Conversation participants.
Use case
Examples match those of a Conversation, as these primitives are tied together.
These include:
- private messaging on Marketplaces
- message inboxes on social apps
- end-to-end encrypted messaging apps
- chatbots, including an encrypted version of ChatGPT
Properties
Schema
The stream ID of Message schema is kjzl6cwe1jw14bcux0xa3ba15686iwkw78y4xda0djl58ufyq219e116ihujfh8
.
You can check the latest version using Cerscan (opens in a new tab).
Format
{
"conversation_id": "string", // required
"master": "string",
"reply_to": "string",
"encryptedMessage": {
"encryptedString": "string",
"encryptedSymmetricKey": "string",
"accessControlConditions": "string"
},
"encryptedMessageSolana": {
"encryptedString": "string",
"encryptedSymmetricKey": "string",
"solRpcConditions": "string"
}
}
Parameter explanation:
conversation_id
- (stream) ID of the conversation this message belongs tomaster
- (stream) ID of the message this one is a direct comment toreply_to
- (stream) ID of a message comment this message is a reply toencryptedMessage
- Lit Encrypted data used to request decryption keys and decrypt contentencryptedMessageSolana
- Lit Encrypted data used to request decryption keys and decrypt content