@japofc/baileys - v2.4.7
    Preparing search index...

    Variable withDeviceConst

    withDevice: (jid: string, device?: number | null) => string

    Set/replace the :device suffix (0/null strips it). Non-mutating.

    Type Declaration

      • (jid: string, device?: number | null): string
      • Parameters

        • jid: string
        • Optionaldevice: number | null

        Returns string