UNPKG

trender-client

Version:
36 lines (35 loc) 879 B
import type { error, attachments } from "./Global"; export declare type createParams = { content: string; attachments?: Array<attachments>; }; declare type userResponseInterface = { username: string; nickname: string; avatar: string; certified: boolean; is_private: boolean; user_id: string; }; declare type fetchMuildResponseSchema = { channel_id: string; content: string; attachments?: Array<attachments>; message_id: string; created_at: Date; from: userResponseInterface; }; export declare type messageCreateResponse = { error?: error; data?: { attachments?: Array<attachments>; content: string; created_at: Date; from: userResponseInterface; }; }; export declare type messageFetchResponse = { error?: error; data?: Array<fetchMuildResponseSchema | []>; }; export {};