Incoming payload the messaging peer hands to an onMessage handler.

interface IncomingMessagePayload {
    encrypted: l2ps.channel.SerializedEncryptedMessage;
    from: string;
    messageHash: string;
    offline?: boolean;
}

Properties

from: string
messageHash: string
offline?: boolean