Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 346 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 346 Bytes

Zaun API Types

Installation

$ npm i @zaunchat/types

Example Usage

// for deno runtime 
// import type { APIMessage } from 'https://deno.land/x/zaunjs_types/mod.ts'
import type { APIMessage } from '@zaunchat/types'

const message: APIMessage = {
    id: 0,
    author_id: 0,
    channel_id: 0,
    content: 'Hi'
}