Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.44 KB

File metadata and controls

34 lines (25 loc) · 1.44 KB

WhatsappTemplateComponent

Template component object

Properties

Name Type Description Notes
type WhatsappComponentType [optional]
format WhatsappHeaderFormat [optional]
text str Text content of the component [optional]
example WhatsappTemplateExample [optional]
buttons List[WhatsappTemplateButton] List of buttons for the component [optional]

Example

from messente_api.models.whatsapp_template_component import WhatsappTemplateComponent

# TODO update the JSON string below
json = "{}"
# create an instance of WhatsappTemplateComponent from a JSON string
whatsapp_template_component_instance = WhatsappTemplateComponent.from_json(json)
# print the JSON string representation of the object
print(WhatsappTemplateComponent.to_json())

# convert the object into a dict
whatsapp_template_component_dict = whatsapp_template_component_instance.to_dict()
# create an instance of WhatsappTemplateComponent from a dict
whatsapp_template_component_from_dict = WhatsappTemplateComponent.from_dict(whatsapp_template_component_dict)

[Back to Model list] [Back to API list] [Back to README]