interface ToDeviceMessage {
    deviceId: string;
    payload: ToDevicePayload;
    userId: string;
}

Properties

deviceId: string
userId: string