whatsapp-api-js - v5.2.0
    Preparing search index...

    Class ClientLimitedMessageComponent<T, N>Abstract

    Type Parameters

    • T
    • N extends number

    Hierarchy (View Summary)

    Index

    Constructors

    Constructors

    • Throws an error if the array length is greater than the specified number.

      Type Parameters

      • T
      • N extends number

      Parameters

      • p: string

        The parent component name

      • c: string

        The component name

      • a: T[]

        The array to check the length of

      • n: N

        The maximum length

      Returns ClientLimitedMessageComponent<T, N>

      ${p} can't have more than ${n} ${c}