Template Components Update#
- class pywa.types.TemplateComponentsUpdate#
Represents a template components update.
Triggers:
- A template is edited.
Read more at developers.facebook.com.
- Variables:
id – ID of Whatsapp Business Accounts this update belongs to.
timestamp – Timestamp of the update (in UTC).
template_id – The ID of the template.
template_name – The name of the template.
template_language – The language of the template.
template_element (str | None) – The body text of the template.
template_title (str | None) – The header text of the template.
template_footer (str | None) – The footer text of the template.
template_buttons (list[dict[str, str]] | None) – A list of buttons in the template.