Interface WebviewResponseMessage

interface WebviewResponseMessage {
    body: {
        command: WepinCommand;
        data: any;
        state: "ERROR" | "SUCCESS";
    };
    header: {
        id: number;
        response_from: "wepin_widget";
        response_to: "web";
    };
}

Properties

Properties

body: {
    command: WepinCommand;
    data: any;
    state: "ERROR" | "SUCCESS";
}
header: {
    id: number;
    response_from: "wepin_widget";
    response_to: "web";
}