chat.bsky.convo.defs
Lexicon Version: 1
Definitions
Section titled “Definitions”messageRef
Section titled “messageRef”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
did | string | ✅ | Format: did | |
convoId | string | ✅ | ||
messageId | string | ✅ |
messageInput
Section titled “messageInput”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
text | string | ✅ | Max Length: 10000 Max Graphemes: 1000 | |
facets | Array of app.bsky.richtext.facet | ❌ | Annotations of text (mentions, URLs, hashtags, etc) | |
embed | Union of:app.bsky.embed.record | ❌ |
messageView
Section titled “messageView”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
id | string | ✅ | ||
rev | string | ✅ | ||
text | string | ✅ | Max Length: 10000 Max Graphemes: 1000 | |
facets | Array of app.bsky.richtext.facet | ❌ | Annotations of text (mentions, URLs, hashtags, etc) | |
embed | Union of:app.bsky.embed.record#view | ❌ | ||
reactions | Array of #reactionView | ❌ | Reactions to this message, in ascending order of creation time. | |
sender | #messageViewSender | ✅ | ||
sentAt | string | ✅ | Format: datetime |
deletedMessageView
Section titled “deletedMessageView”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
id | string | ✅ | ||
rev | string | ✅ | ||
sender | #messageViewSender | ✅ | ||
sentAt | string | ✅ | Format: datetime |
messageViewSender
Section titled “messageViewSender”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
did | string | ✅ | Format: did |
reactionView
Section titled “reactionView”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
value | string | ✅ | ||
sender | #reactionViewSender | ✅ | ||
createdAt | string | ✅ | Format: datetime |
reactionViewSender
Section titled “reactionViewSender”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
did | string | ✅ | Format: did |
messageAndReactionView
Section titled “messageAndReactionView”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
message | #messageView | ✅ | ||
reaction | #reactionView | ✅ |
convoView
Section titled “convoView”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
id | string | ✅ | ||
rev | string | ✅ | ||
members | Array of chat.bsky.actor.defs#profileViewBasic | ✅ | ||
lastMessage | Union of:#messageView#deletedMessageView | ❌ | ||
lastReaction | Union of:#messageAndReactionView | ❌ | ||
muted | boolean | ✅ | ||
status | string | ❌ | Known Values: request, accepted | |
unreadCount | integer | ✅ |
logBeginConvo
Section titled “logBeginConvo”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
rev | string | ✅ | ||
convoId | string | ✅ |
logAcceptConvo
Section titled “logAcceptConvo”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
rev | string | ✅ | ||
convoId | string | ✅ |
logLeaveConvo
Section titled “logLeaveConvo”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
rev | string | ✅ | ||
convoId | string | ✅ |
logMuteConvo
Section titled “logMuteConvo”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
rev | string | ✅ | ||
convoId | string | ✅ |
logUnmuteConvo
Section titled “logUnmuteConvo”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
rev | string | ✅ | ||
convoId | string | ✅ |
logCreateMessage
Section titled “logCreateMessage”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
rev | string | ✅ | ||
convoId | string | ✅ | ||
message | Union of:#messageView#deletedMessageView | ✅ |
logDeleteMessage
Section titled “logDeleteMessage”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
rev | string | ✅ | ||
convoId | string | ✅ | ||
message | Union of:#messageView#deletedMessageView | ✅ |
logReadMessage
Section titled “logReadMessage”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
rev | string | ✅ | ||
convoId | string | ✅ | ||
message | Union of:#messageView#deletedMessageView | ✅ |
logAddReaction
Section titled “logAddReaction”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
rev | string | ✅ | ||
convoId | string | ✅ | ||
message | Union of:#messageView#deletedMessageView | ✅ | ||
reaction | #reactionView | ✅ |
logRemoveReaction
Section titled “logRemoveReaction”Type: object
Properties:
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
rev | string | ✅ | ||
convoId | string | ✅ | ||
message | Union of:#messageView#deletedMessageView | ✅ | ||
reaction | #reactionView | ✅ |
Lexicon Source
Section titled “Lexicon Source”{ "lexicon": 1, "id": "chat.bsky.convo.defs", "defs": { "messageRef": { "type": "object", "required": [ "did", "messageId", "convoId" ], "properties": { "did": { "type": "string", "format": "did" }, "convoId": { "type": "string" }, "messageId": { "type": "string" } } }, "messageInput": { "type": "object", "required": [ "text" ], "properties": { "text": { "type": "string", "maxLength": 10000, "maxGraphemes": 1000 }, "facets": { "type": "array", "description": "Annotations of text (mentions, URLs, hashtags, etc)", "items": { "type": "ref", "ref": "app.bsky.richtext.facet" } }, "embed": { "type": "union", "refs": [ "app.bsky.embed.record" ] } } }, "messageView": { "type": "object", "required": [ "id", "rev", "text", "sender", "sentAt" ], "properties": { "id": { "type": "string" }, "rev": { "type": "string" }, "text": { "type": "string", "maxLength": 10000, "maxGraphemes": 1000 }, "facets": { "type": "array", "description": "Annotations of text (mentions, URLs, hashtags, etc)", "items": { "type": "ref", "ref": "app.bsky.richtext.facet" } }, "embed": { "type": "union", "refs": [ "app.bsky.embed.record#view" ] }, "reactions": { "type": "array", "description": "Reactions to this message, in ascending order of creation time.", "items": { "type": "ref", "ref": "#reactionView" } }, "sender": { "type": "ref", "ref": "#messageViewSender" }, "sentAt": { "type": "string", "format": "datetime" } } }, "deletedMessageView": { "type": "object", "required": [ "id", "rev", "sender", "sentAt" ], "properties": { "id": { "type": "string" }, "rev": { "type": "string" }, "sender": { "type": "ref", "ref": "#messageViewSender" }, "sentAt": { "type": "string", "format": "datetime" } } }, "messageViewSender": { "type": "object", "required": [ "did" ], "properties": { "did": { "type": "string", "format": "did" } } }, "reactionView": { "type": "object", "required": [ "value", "sender", "createdAt" ], "properties": { "value": { "type": "string" }, "sender": { "type": "ref", "ref": "#reactionViewSender" }, "createdAt": { "type": "string", "format": "datetime" } } }, "reactionViewSender": { "type": "object", "required": [ "did" ], "properties": { "did": { "type": "string", "format": "did" } } }, "messageAndReactionView": { "type": "object", "required": [ "message", "reaction" ], "properties": { "message": { "type": "ref", "ref": "#messageView" }, "reaction": { "type": "ref", "ref": "#reactionView" } } }, "convoView": { "type": "object", "required": [ "id", "rev", "members", "muted", "unreadCount" ], "properties": { "id": { "type": "string" }, "rev": { "type": "string" }, "members": { "type": "array", "items": { "type": "ref", "ref": "chat.bsky.actor.defs#profileViewBasic" } }, "lastMessage": { "type": "union", "refs": [ "#messageView", "#deletedMessageView" ] }, "lastReaction": { "type": "union", "refs": [ "#messageAndReactionView" ] }, "muted": { "type": "boolean" }, "status": { "type": "string", "knownValues": [ "request", "accepted" ] }, "unreadCount": { "type": "integer" } } }, "logBeginConvo": { "type": "object", "required": [ "rev", "convoId" ], "properties": { "rev": { "type": "string" }, "convoId": { "type": "string" } } }, "logAcceptConvo": { "type": "object", "required": [ "rev", "convoId" ], "properties": { "rev": { "type": "string" }, "convoId": { "type": "string" } } }, "logLeaveConvo": { "type": "object", "required": [ "rev", "convoId" ], "properties": { "rev": { "type": "string" }, "convoId": { "type": "string" } } }, "logMuteConvo": { "type": "object", "required": [ "rev", "convoId" ], "properties": { "rev": { "type": "string" }, "convoId": { "type": "string" } } }, "logUnmuteConvo": { "type": "object", "required": [ "rev", "convoId" ], "properties": { "rev": { "type": "string" }, "convoId": { "type": "string" } } }, "logCreateMessage": { "type": "object", "required": [ "rev", "convoId", "message" ], "properties": { "rev": { "type": "string" }, "convoId": { "type": "string" }, "message": { "type": "union", "refs": [ "#messageView", "#deletedMessageView" ] } } }, "logDeleteMessage": { "type": "object", "required": [ "rev", "convoId", "message" ], "properties": { "rev": { "type": "string" }, "convoId": { "type": "string" }, "message": { "type": "union", "refs": [ "#messageView", "#deletedMessageView" ] } } }, "logReadMessage": { "type": "object", "required": [ "rev", "convoId", "message" ], "properties": { "rev": { "type": "string" }, "convoId": { "type": "string" }, "message": { "type": "union", "refs": [ "#messageView", "#deletedMessageView" ] } } }, "logAddReaction": { "type": "object", "required": [ "rev", "convoId", "message", "reaction" ], "properties": { "rev": { "type": "string" }, "convoId": { "type": "string" }, "message": { "type": "union", "refs": [ "#messageView", "#deletedMessageView" ] }, "reaction": { "type": "ref", "ref": "#reactionView" } } }, "logRemoveReaction": { "type": "object", "required": [ "rev", "convoId", "message", "reaction" ], "properties": { "rev": { "type": "string" }, "convoId": { "type": "string" }, "message": { "type": "union", "refs": [ "#messageView", "#deletedMessageView" ] }, "reaction": { "type": "ref", "ref": "#reactionView" } } } }}