smartuniverse/dist_ts/interfaces/http.interfaces.d.ts
2020-09-24 18:13:48 +00:00

15 lines
299 B
TypeScript

export interface IServerGetMessagesRequestBody {
channel: string;
topic?: string;
youngerThan: number;
}
/**
* the interface for a standard request
*/
export interface IServerPutMessageRequestBody {
channel: string;
passphrase: string;
message: string;
payload: any;
}