Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Event

import type { Event } from "https://gitlab.com/soapbox-pub/strfry-policies/-/raw/develop/mod.ts";
interface Event <K extends number = number> {
content: string;
created_at: number;
id: string;
kind: K;
pubkey: string;
sig: string;
tags: string[][];
}

§Type Parameters

§
K extends number = number
[src]

§Properties

§
content: string
[src]
§
created_at: number
[src]
§
id: string
[src]
§
kind: K
[src]
§
pubkey: string
[src]
§
sig: string
[src]
§
tags: string[][]
[src]