UNPKG

@666666/messagejs

Version:
29 lines (28 loc) 576 B
export type SERVERCHAN_BASE_CONFIG = { sendKey: string; encodeOptions?: ENCODED; }; export interface SEND_CONFIG { title: string; desp: string; openid?: string; encoded?: boolean; channel?: string; } export type ENCODED = { uid: number | string; key: string; }; export interface BASE_RESPONSE { code: number; message: string; } export interface SEND_RESPONSE extends BASE_RESPONSE { data: SEND_RESPONSE_DATA; } export type SEND_RESPONSE_DATA = { pushid: number; readkey: string; error: string; errno: number; };