Skip to content

chat.bsky.convo.defs

Lexicon Version: 1

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
didstring✅Format: did
convoIdstring✅
messageIdstring✅

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
textstring✅Max Length: 10000
Max Graphemes: 1000
facetsArray of app.bsky.richtext.facet❌Annotations of text (mentions, URLs, hashtags, etc)
embedUnion of:
  app.bsky.embed.record
❌

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
idstring✅
revstring✅
textstring✅Max Length: 10000
Max Graphemes: 1000
facetsArray of app.bsky.richtext.facet❌Annotations of text (mentions, URLs, hashtags, etc)
embedUnion of:
  app.bsky.embed.record#view
❌
reactionsArray of #reactionView❌Reactions to this message, in ascending order of creation time.
sender#messageViewSender✅
sentAtstring✅Format: datetime

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
idstring✅
revstring✅
sender#messageViewSender✅
sentAtstring✅Format: datetime

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
didstring✅Format: did

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
valuestring✅
sender#reactionViewSender✅
createdAtstring✅Format: datetime

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
didstring✅Format: did

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
message#messageView✅
reaction#reactionView✅

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
idstring✅
revstring✅
membersArray of chat.bsky.actor.defs#profileViewBasic✅
lastMessageUnion of:
  #messageView
  #deletedMessageView
❌
lastReactionUnion of:
  #messageAndReactionView
❌
mutedboolean✅
statusstring❌Known Values: request, accepted
unreadCountinteger✅

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
revstring✅
convoIdstring✅

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
revstring✅
convoIdstring✅

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
revstring✅
convoIdstring✅

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
revstring✅
convoIdstring✅

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
revstring✅
convoIdstring✅

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
revstring✅
convoIdstring✅
messageUnion of:
  #messageView
  #deletedMessageView
✅

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
revstring✅
convoIdstring✅
messageUnion of:
  #messageView
  #deletedMessageView
✅

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
revstring✅
convoIdstring✅
messageUnion of:
  #messageView
  #deletedMessageView
✅

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
revstring✅
convoIdstring✅
messageUnion of:
  #messageView
  #deletedMessageView
✅
reaction#reactionView✅

Type: object

Properties:

NameTypeReq’dDescriptionConstraints
revstring✅
convoIdstring✅
messageUnion of:
  #messageView
  #deletedMessageView
✅
reaction#reactionView✅

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