{"$type":"com.atproto.lexicon.schema","defs":{"attachment":{"description":"A file attached to a message.","properties":{"blob":{"type":"blob"},"height":{"description":"Pixel height of the attachment's intrinsic dimensions, when it is a decodable image or video.","type":"integer"},"name":{"type":"string"},"width":{"description":"Pixel width of the attachment's intrinsic dimensions, when it is a decodable image or video. Lets a client reserve the correct box before the bytes arrive.","type":"integer"}},"required":["blob"],"type":"object"},"message":{"description":"A hydrated message as served by the AppView.","properties":{"attachments":{"items":{"ref":"lex:social.colibri.channel.defs#attachment","type":"ref"},"type":"array"},"author":{"ref":"lex:social.colibri.actor.defs#actorView","type":"ref"},"channel":{"format":"at-uri","type":"string"},"community":{"format":"at-uri","type":"string"},"createdAt":{"format":"datetime","type":"string"},"edited":{"type":"boolean"},"facets":{"items":{"ref":"lex:social.colibri.richtext.facet","type":"ref"},"type":"array"},"modSuppressedEmbeds":{"description":"URLs whose embed a moderator suppressed, derived from the community's moderation log. Only the moderator who can hide messages may clear these.","items":{"format":"uri","type":"string"},"type":"array"},"parent":{"description":"The message this one replies to, if any. Never itself nested (the parent's own parent is omitted).","ref":"lex:social.colibri.channel.defs#message","type":"ref"},"reactions":{"items":{"ref":"lex:social.colibri.channel.defs#reactionView","type":"ref"},"type":"array"},"suppressedEmbeds":{"description":"URLs whose embed the author suppressed, mirrored from the message record.","items":{"format":"uri","type":"string"},"type":"array"},"text":{"type":"string"},"uri":{"format":"at-uri","type":"string"}},"required":["uri","text","facets","channel","community","author","attachments","reactions","createdAt","edited"],"type":"object"},"reactionView":{"description":"An aggregated reaction on a message.","properties":{"count":{"type":"integer"},"emoji":{"type":"string"},"reactorDIDs":{"items":{"format":"did","type":"string"},"type":"array"}},"required":["emoji","count","reactorDIDs"],"type":"object"},"readCursor":{"description":"The authenticated user's read cursor for a channel.","properties":{"channel":{"format":"at-uri","type":"string"},"cursor":{"type":"string"},"uri":{"format":"at-uri","type":"string"}},"required":["uri","cursor","channel"],"type":"object"},"unreadStatus":{"description":"Per-channel unread state for the authenticated user.","properties":{"channelUri":{"format":"at-uri","type":"string"},"hasUnreadMessages":{"type":"boolean"},"unreadPingCount":{"type":"integer"}},"required":["channelUri","hasUnreadMessages","unreadPingCount"],"type":"object"}},"id":"social.colibri.channel.defs","lexicon":1}