Skip to content

WhatsAppCallHours

Source code in docs_src/capo_socialmessaging/types/whats_app_call_hours.py
class WhatsAppCallHours(TypedDict, closed=True):
    enabled: "bool"
    """<p>Specifies whether call hours are enforced. When disabled, the business accepts calls at any time.</p>"""
    timezone: "capo_socialmessaging.types.iana_timezone.IanaTimezone"
    """<p>The IANA time zone in which the operating hours are interpreted, such as <code>America/New_York</code>.</p>"""
    weekly_operating_hours: "capo_socialmessaging.types.whats_app_weekly_operating_hours_list.WhatsAppWeeklyOperatingHoursList"
    """<p>The weekly schedule of hours during which the business accepts calls.</p>"""
    holiday_schedule: NotRequired[
        "capo_socialmessaging.types.whats_app_holiday_schedule_list.WhatsAppHolidayScheduleList"
    ]
    """<p>Date-specific overrides to the weekly operating hours, such as holidays.</p>"""

enabled instance-attribute

enabled: bool

Specifies whether call hours are enforced. When disabled, the business accepts calls at any time.

holiday_schedule instance-attribute

holiday_schedule: NotRequired[WhatsAppHolidayScheduleList]

Date-specific overrides to the weekly operating hours, such as holidays.

timezone instance-attribute

timezone: IanaTimezone

The IANA time zone in which the operating hours are interpreted, such as America/New_York.

weekly_operating_hours instance-attribute

weekly_operating_hours: WhatsAppWeeklyOperatingHoursList

The weekly schedule of hours during which the business accepts calls.