Function isSendableTemplate

  • Whether a WhatsApp template can be sent from the composer:

    • requires status + components
    • status (case-insensitive) === 'approved'
    • category !== 'AUTHENTICATION'
    • name does not start with 'customer_satisfaction_survey'
    • no LIST/PRODUCT/CATALOG/CALL_PERMISSION_REQUEST component and no LOCATION header

    Parameters

    Returns boolean

Generated using TypeDoc