18 lines
300 B
TypeScript
18 lines
300 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;
|
|
}
|