Type alias DocPayload

DocPayload: {
    channelId: string;
    content: string;
    createdAt: string;
    createdBy: string;
    id: number;
    mentions?: MentionsPayload;
    serverId: string;
    title: string;
    updatedAt?: string;
    updatedBy?: string;
}

Type declaration

  • channelId: string

    The ID of the channel

  • content: string

    The content of the doc

  • createdAt: string

    The ISO 8601 timestamp that the doc was created at

  • createdBy: string

    The ID of the user who created this doc

  • id: number

    The ID of the doc

  • Optional mentions?: MentionsPayload
  • serverId: string

    The ID of the server

  • title: string

    The title of the doc

  • Optional updatedAt?: string

    The ISO 8601 timestamp that the doc was updated at, if relevant

  • Optional updatedBy?: string

    The ID of the user who updated this doc

Generated using TypeDoc