sendMessage
Send a message to a specified conversation
.
All messages will be automatically encrypted using Lit Protocol based on the conversation's recipients.
How to use?
const res = await orbis.sendMessage(content);
Parameters
content
- object which contains details of the message being sentconversation_id
-string
(stream) ID of the conversation to which a message will be sentbody
-string
content of the message being sent
Returns
{
status: 200,
doc: "kjzl6cwe1...e4wvxhiqj",
result: "Success creating TileDocument."
}