Template Quality Update#
- class pywa.types.templates.TemplateQualityUpdate#
Represents a template quality update.
Triggers:
- A template's quality score changes.
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.
new_quality_score (QualityScoreType) β The new quality score of the template.
previous_quality_score (QualityScoreType) β The previous quality score of the template.
- class pywa.types.templates.QualityScoreType#
Every message template has a quality rating based on usage, customer feedback and engagement. A message templateβs rating will appear in the WhatsApp Manager whenever it has an Active status, and will be displayed after a hyphen in the message templateβs status:
Read more at developers.facebook.com.
- Variables:
GREEN β Indicates high quality.
RED β Indicates low quality.
YELLOW β Indicates medium quality.
UNKNOWN β Indicates quality pending.