Skip to content

WhatsAppCallPermissionLimit

Source code in docs_src/capo_socialmessaging/types/whats_app_call_permission_limit.py
class WhatsAppCallPermissionLimit(TypedDict, closed=True):
    time_period: "capo_socialmessaging.types.iso8601_duration.Iso8601Duration"
    """<p>The time period over which the limit applies, as an ISO 8601 duration.</p>"""
    max_allowed: "int"
    """<p>The maximum number of times the action is allowed within the time period.</p>"""
    current_usage: "int"
    """<p>The number of times the action has been used within the current time period.</p>"""
    limit_expiration_time: NotRequired["datetime.datetime"]
    """<p>The time when the limit resets. This value is present only when the current usage has reached the maximum allowed.</p>"""

current_usage instance-attribute

current_usage: int

The number of times the action has been used within the current time period.

limit_expiration_time instance-attribute

limit_expiration_time: NotRequired[datetime]

The time when the limit resets. This value is present only when the current usage has reached the maximum allowed.

max_allowed instance-attribute

max_allowed: int

The maximum number of times the action is allowed within the time period.

time_period instance-attribute

time_period: Iso8601Duration

The time period over which the limit applies, as an ISO 8601 duration.