@wppconnect-team/wppconnect - v2.4.7-rc.0
    Preparing search index...

    The Node.js SDK re-exports the WAJS namespace for TypeScript. This reference describes types from WA-JS 4.8.5-rc.0. For operations available on a connected Node.js client, see Whatsapp. For functions running inside WhatsApp Web, see the WA-JS browser API.

    Enumeration OrderMessageStatus

    Order message status from Message$OrderMessage$OrderStatus protobuf enum This controls the UI state (whether "Accept Order" button is shown) Based on WAWebProtobufsE2E.pb.Message$OrderMessage$OrderStatus

    Index
    ACCEPTED: 2

    Order accepted by merchant - hides "Accept Order" button

    DECLINED: 3

    Order declined by merchant

    INQUIRY: 1

    Initial order inquiry state - shows "Accept Order" button