2019-04-11 15:52:01 +00:00
|
|
|
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;
|
2019-04-22 22:28:57 +00:00
|
|
|
}
|