smartuniverse/dist_ts/interfaces/universemessage.interfaces.d.ts

17 lines
317 B
TypeScript
Raw Normal View History

2020-09-24 18:13:48 +00:00
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;
}