Module: Whatsapp::MessageTemplates::Statuses
- Defined in:
- lib/ruby/whatsapp/message_templates/statuses.rb
Overview
The review and health states a template moves through.
Only APPROVED templates can be sent. Status changes arrive asynchronously via the
message_template_status_update webhook, already modelled by
Webhook::MessageTemplateStatusUpdate — polling #find
is the fallback, not the intended path.
Source: https://developers.facebook.com/docs/graph-api/reference/whats-app-business-hsm/
Defined Under Namespace
Modules: QualityScores, RejectedReasons
Constant Summary collapse
- APPROVED =
Passed review and sendable.
"APPROVED"- PENDING =
In review; can take up to 24 hours.
"PENDING"- REJECTED =
Failed review or violated policy. See
rejected_reason. "REJECTED"- PAUSED =
Suspended after recurring negative feedback or low read rates.
"PAUSED"- DISABLED =
Permanently disabled. Cannot be sent, and cannot be deleted.
"DISABLED"- IN_APPEAL =
An appeal is in progress.
"IN_APPEAL"- PENDING_DELETION =
Deleted, with a 30-day window for messages already in flight.
"PENDING_DELETION"- DELETED =
"DELETED"- LIMIT_EXCEEDED =
Over a limit.
"LIMIT_EXCEEDED"- ARCHIVED =
Inactive for 12 months or more.
"ARCHIVED"- ALL =
[ APPROVED, PENDING, REJECTED, PAUSED, DISABLED, IN_APPEAL, PENDING_DELETION, DELETED, LIMIT_EXCEEDED, ARCHIVED, ].freeze
- EDITABLE =
The only statuses Meta allows a template to be edited in. Approved templates additionally carry rate limits (10 edits per 30 days, and 1 per 24 hours) that cannot be checked locally.
[APPROVED, REJECTED, PAUSED].freeze