Skip to content

LibraryTemplateButtonInput

Source code in docs_src/capo_socialmessaging/types/library_template_button_input.py
class LibraryTemplateButtonInput(TypedDict, closed=True):
    type: NotRequired["capo_socialmessaging.types.button_type.ButtonType"]
    """<p>The type of button (for example, QUICK_REPLY, CALL, or URL).</p>"""
    phone_number: NotRequired["capo_socialmessaging.types.phone_number.PhoneNumber"]
    """<p>The phone number in E.164 format for CALL-type buttons.</p>"""
    url: NotRequired[
        "capo_socialmessaging.types.meta_url_with_suffix_example.MetaUrlWithSuffixExample"
    ]
    """<p>The URL with dynamic parameters for URL-type buttons.</p>"""
    otp_type: NotRequired["capo_socialmessaging.types.otp_type.OtpType"]
    """<p>The type of one-time password for OTP buttons.</p>"""
    zero_tap_terms_accepted: NotRequired[
        "capo_socialmessaging.types.zero_tap_terms_accepted.ZeroTapTermsAccepted"
    ]
    """<p>When true, indicates acceptance of zero-tap terms for the button.</p>"""
    supported_apps: NotRequired[
        "capo_socialmessaging.types.supported_apps.SupportedApps"
    ]
    """<p>List of supported applications for this button type.</p>"""

otp_type instance-attribute

otp_type: NotRequired[OtpType]

The type of one-time password for OTP buttons.

phone_number instance-attribute

phone_number: NotRequired[PhoneNumber]

The phone number in E.164 format for CALL-type buttons.

supported_apps instance-attribute

supported_apps: NotRequired[SupportedApps]

List of supported applications for this button type.

type instance-attribute

type: NotRequired[ButtonType]

The type of button (for example, QUICK_REPLY, CALL, or URL).

url instance-attribute

url: NotRequired[MetaUrlWithSuffixExample]

The URL with dynamic parameters for URL-type buttons.

zero_tap_terms_accepted instance-attribute

zero_tap_terms_accepted: NotRequired[ZeroTapTermsAccepted]

When true, indicates acceptance of zero-tap terms for the button.