@wppconnect-team/wppconnect - v2.3.5
    Preparing search index...

    Function sendPixKeyMessage

    • Send a Brazilian Pix key payment request without an amount.

      Parameters

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

          Experimental <biz> node variations, to test what WhatsApp accepts. Not validated; leave undefined in production.

      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',
      });