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

18 lines
632 B
TypeScript

import * as plugins from './smartuniverse.plugins';
import * as interfaces from './interfaces';
export declare class ClientUniverseMessage<T> implements interfaces.IUniverseMessage {
static createMessageFromMessageDescriptor(messageDescriptor: interfaces.IUniverseMessage): ClientUniverseMessage<unknown>;
id: string;
timestamp: number;
smartTimestamp: plugins.smarttime.TimeStamp;
messageText: string;
passphrase: string;
payload: T;
targetChannelName: string;
constructor(messageArg: interfaces.IUniverseMessage);
/**
* gets json for payload
*/
getAsJsonForPayload(): void;
}