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

    Function markIsComposing

    • Mark a chat to composing state and keep sending "is writting a message"

      Parameters

      • chatId: string | Wid
      • Optionalduration: number

      Returns Promise<void>

      // Mark is composing
      WPP.chat.markIsComposing('[number]@c.us');

      // Mark is composing for 5 seconds
      WPP.chat.markIsComposing('[number]@c.us', 5000);