app.protoimsg.chat.message

A chat message. Lives in the sender's repo, points to a channel.

Details · record, key tid
Kindrecord
Record keytid
Authoritychat.protoimsg.app
Indexed

Record

record · key tid

Properties

channel

requiredstring · at-uri

AT-URI of the channel record this message belongs to.

createdAt

requiredstring · datetime

Timestamp of message creation.

embed

union

Embedded media or link card.

facets

array

Rich text annotations (mentions, links, tags, formatting). Extends the Bluesky facet convention with additional formatting features.

itemsref
Reference

Structured reply reference for threading.

Reference

text

requiredstring

Message text content.

  • maxLength: 3000
  • maxGraphemes: 1000

#aspectRatio

object

Width and height for layout before media loads.

Properties

height

requiredinteger
  • minimum: 1

width

requiredinteger
  • minimum: 1

#blockquote

object

Facet feature for a block quotation.

Properties

#bold

object

Facet feature for bold text.

Properties

#byteSlice

object

Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text.

Properties

byteEnd

requiredinteger
  • minimum: 0

byteStart

requiredinteger
  • minimum: 0

#codeBlock

object

Facet feature for a code block. The text contains the code content.

Properties

lang

string

Programming language for syntax highlighting.

  • maxLength: 50

#codeInline

object

Facet feature for inline code.

Properties

#externalEmbed

object

External link card.

Properties

Description or summary.

  • maxLength: 1000

thumb

blob

Thumbnail image for the link card.

  • maxSize: 1000000
  • accept: image/png, image/jpeg

title

requiredstring

Title of the external content.

  • maxLength: 300

uri

requiredstring · uri

URL of the external content.

#imageEmbed

object

Embedded images.

Properties

images

requiredarray
  • maxLength: 4
itemsref
Reference

#imageItem

object

A single embedded image.

Properties

alt

requiredstring

Alt text for accessibility.

  • maxLength: 2000
Reference

image

requiredblob

Image blob reference.

  • maxSize: 1000000
  • accept: image/png, image/jpeg, image/gif, image/webp

#italic

object

Facet feature for italic text.

Properties

#mention

object

Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID.

Properties

did

requiredstring · did

#replyRef

object

Thread reply reference with root and parent for efficient deep thread traversal.

Properties

parent

requiredstring · at-uri

AT-URI of the direct parent message being replied to.

root

requiredstring · at-uri

AT-URI of the root message in the thread.

#richTextFacet

object

Annotation of a sub-string within rich text.

Properties

#strikethrough

object

Facet feature for strikethrough text.

Properties

#tag

object

Facet feature for a hashtag. The text usually includes a '#' prefix, but the facet reference should not.

Properties

tag

requiredstring
  • maxLength: 640
  • maxGraphemes: 64

#videoEmbed

object

Embedded video.

Properties

alt

string

Alt text for accessibility.

  • maxLength: 2000
Reference

Video thumbnail image.

  • maxSize: 1000000
  • accept: image/png, image/jpeg

video

requiredblob

Video blob reference.

  • maxSize: 50000000
  • accept: video/mp4, video/webm

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Record containing a Streamplace chat message.

  • A message posted into a chat channel, or a comment inside a forum thread. Always written into the author's own repo within the space.

  • A single message sent to a turtle meat chat room. Messages live in the author's own repository; a room is assembled by reading the backlinks that point at it.

  • A message in a channel. Lives in the author's own permissioned repo for the channel's space.

  • org.4906.temp.message

    record not from the namespace authority

    A message sent in a channel.