@wppconnect/wa-js - v3.17.0
    Preparing search index...

    Function sendPixKeyMessage

    • Send a invoice message To send (prices, tax, shipping or discount), for example: USD 12.90, send them without dots or commas, like: 12900

      Parameters

      • chatId: any
      • params: {
            instructions?: string;
            key: string;
            keyType: "CNPJ" | "CPF" | "PHONE" | "EMAIL" | "EVP";
            name: string;
        }
      • Optionaloptions: SendMessageOptions

      Returns Promise<SendMessageReturn>

      // Send PIX Key Message (Brazil Pix Key)
      WPP.chat.sendPixKeyMessage('[number]@c.us', {
      keyType: 'CNPJ',
      name: 'WPPCONNECT-TEAM',
      key: '33460516000178',
      instructions: 'Pay text for instructions here',
      });