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

17 lines
317 B
TypeScript

export interface IMessageCreator {
messageText: string;
payload?: string | number | any;
}
/**
* A universe
*/
export interface IUniverseMessage extends IMessageCreator {
id: string;
/**
* time of creation
*/
timestamp: number;
passphrase: string;
targetChannelName: string;
}