@wppconnect/wa-js - v4.7.1
    Preparing search index...

    Function sendBookingMessage

    • Send a native booking confirmation message.

      At least one of location, bookingUrl, or phoneNumber is required by WhatsApp. Dates can be supplied as ISO strings or JavaScript Date values.

      Parameters

      Returns Promise<SendMessageReturn>

      await WPP.chat.sendBookingMessage('[number]@c.us', {
      body: 'Your appointment is confirmed.',
      title: 'Appointment',
      startTime: new Date('2026-10-11T15:00:00.000Z'),
      endTime: new Date('2026-10-11T16:00:00.000Z'),
      location: '10 Main Street',
      managementUrl: 'https://example.com/bookings/123'
      });