app.didpic.chat.defs

lexicons.didpic.app

Documentation

conversationView object

No description available.

Properties

blockedParticipantDids array of string Optional

DIDs of other participants the viewer blocks or is blocked by.

createdAt string datetime Required

An RFC 3339 formatted timestamp.

id string Required

No description available.

lastMessageAt string datetime Optional

An RFC 3339 formatted timestamp.

lastMessagePreview string Optional

No description available.

muted boolean Optional

True if the viewer has muted this conversation.

nickname string Optional

Shared conversation name, if set.

otherLastReadAt string datetime Optional

The other participant's last-read time, for a 1:1 Seen indicator.

participantCount integer Required

No description available.

minimum: 2maximum: 10
unreadCount integer Optional

No description available.

minimum: 0
viewerBlocked boolean Optional

True if this 1:1 conversation is frozen by a block.

View raw schema
{
  "properties": {
    "blockedParticipantDids": {
      "description": "DIDs of other participants the viewer blocks or is blocked by.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "createdAt": {
      "format": "datetime",
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "lastMessageAt": {
      "format": "datetime",
      "type": "string"
    },
    "lastMessagePreview": {
      "type": "string"
    },
    "muted": {
      "description": "True if the viewer has muted this conversation.",
      "type": "boolean"
    },
    "nickname": {
      "description": "Shared conversation name, if set.",
      "type": "string"
    },
    "otherLastReadAt": {
      "description": "The other participant's last-read time, for a 1:1 Seen indicator.",
      "format": "datetime",
      "type": "string"
    },
    "participantCount": {
      "maximum": 10,
      "minimum": 2,
      "type": "integer"
    },
    "participants": {
      "items": {
        "ref": "app.didpic.actor.defs#profileBasic",
        "type": "ref"
      },
      "type": "array"
    },
    "unreadCount": {
      "minimum": 0,
      "type": "integer"
    },
    "viewerBlocked": {
      "description": "True if this 1:1 conversation is frozen by a block.",
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "participants",
    "participantCount",
    "createdAt"
  ],
  "type": "object"
}
linkPreview object

No description available.

Properties

description string Optional

No description available.

imageHeight integer Optional

No description available.

imageUrl string Optional

No description available.

imageWidth integer Optional

No description available.

title string Optional

No description available.

url string uri Required

A valid URI.

View raw schema
{
  "properties": {
    "description": {
      "type": "string"
    },
    "imageHeight": {
      "type": "integer"
    },
    "imageUrl": {
      "type": "string"
    },
    "imageWidth": {
      "type": "integer"
    },
    "title": {
      "type": "string"
    },
    "url": {
      "format": "uri",
      "type": "string"
    }
  },
  "required": [
    "url"
  ],
  "type": "object"
}
messageView object

No description available.

Properties

blocked boolean Optional

True when the author is blocked by or blocking the viewer.

conversationId string Required

No description available.

createdAt string datetime Required

An RFC 3339 formatted timestamp.

id string Required

No description available.

imageHeight integer Optional

No description available.

imageUrl string Optional

No description available.

imageWidth integer Optional

No description available.

sharedPostUnavailable boolean Optional

True when the shared post is gone.

takedown boolean Optional

No description available.

text string Optional

No description available.

unavailable boolean Optional

True when the author's account is unavailable.

View raw schema
{
  "properties": {
    "author": {
      "ref": "app.didpic.actor.defs#profileBasic",
      "type": "ref"
    },
    "blocked": {
      "description": "True when the author is blocked by or blocking the viewer.",
      "type": "boolean"
    },
    "conversationId": {
      "type": "string"
    },
    "createdAt": {
      "format": "datetime",
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "imageHeight": {
      "type": "integer"
    },
    "imageUrl": {
      "type": "string"
    },
    "imageWidth": {
      "type": "integer"
    },
    "linkPreview": {
      "ref": "app.didpic.chat.defs#linkPreview",
      "type": "ref"
    },
    "reactions": {
      "items": {
        "ref": "app.didpic.chat.defs#reactionSummary",
        "type": "ref"
      },
      "type": "array"
    },
    "replyTo": {
      "ref": "app.didpic.chat.defs#replyPreview",
      "type": "ref"
    },
    "sharedPost": {
      "ref": "app.didpic.feed.defs#postView",
      "type": "ref"
    },
    "sharedPostUnavailable": {
      "description": "True when the shared post is gone.",
      "type": "boolean"
    },
    "takedown": {
      "type": "boolean"
    },
    "text": {
      "type": "string"
    },
    "unavailable": {
      "description": "True when the author's account is unavailable.",
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "conversationId",
    "author",
    "createdAt"
  ],
  "type": "object"
}
reactionSummary object

No description available.

Properties

count integer Required

No description available.

minimum: 1
reaction string Required

No description available.

viewerReacted boolean Required

No description available.

View raw schema
{
  "properties": {
    "count": {
      "minimum": 1,
      "type": "integer"
    },
    "reaction": {
      "type": "string"
    },
    "viewerReacted": {
      "type": "boolean"
    }
  },
  "required": [
    "reaction",
    "count",
    "viewerReacted"
  ],
  "type": "object"
}
replyPreview object

No description available.

Properties

authorDid string Optional

No description available.

blocked boolean Optional

True when the replied-to message's author is blocked.

id string Required

No description available.

imageHeight integer Optional

No description available.

imageUrl string Optional

No description available.

imageWidth integer Optional

No description available.

sharedPostUnavailable boolean Optional

True when the shared post is gone.

textSnippet string Optional

No description available.

unavailable boolean Required

True when the replied-to message is gone or unavailable.

View raw schema
{
  "properties": {
    "authorDid": {
      "type": "string"
    },
    "blocked": {
      "description": "True when the replied-to message's author is blocked.",
      "type": "boolean"
    },
    "id": {
      "type": "string"
    },
    "imageHeight": {
      "type": "integer"
    },
    "imageUrl": {
      "type": "string"
    },
    "imageWidth": {
      "type": "integer"
    },
    "linkPreview": {
      "ref": "app.didpic.chat.defs#linkPreview",
      "type": "ref"
    },
    "sharedPost": {
      "ref": "app.didpic.feed.defs#postView",
      "type": "ref"
    },
    "sharedPostUnavailable": {
      "description": "True when the shared post is gone.",
      "type": "boolean"
    },
    "textSnippet": {
      "type": "string"
    },
    "unavailable": {
      "description": "True when the replied-to message is gone or unavailable.",
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "unavailable"
  ],
  "type": "object"
}

Lexicon Garden

@