Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.01 KB

File metadata and controls

26 lines (20 loc) · 1.01 KB

Zernio::WebhookPayloadWhatsAppTemplateStatusUpdatedTemplate

Properties

Name Type Description Notes
template_id String Meta's `message_template_id`, returned as a string.
name String Meta's `message_template_name`.
language String Meta's `message_template_language` (e.g. `en_US`).
status String New status. Forwarded verbatim from Meta's `event` field. `PENDING_DELETION` is the 24h-grace state after a delete request before the template is actually removed.
reason String Meta's free-form reason for the transition. `"NONE"` on approval; an explanation string on rejection.

Example

require 'zernio-sdk'

instance = Zernio::WebhookPayloadWhatsAppTemplateStatusUpdatedTemplate.new(
  template_id: null,
  name: null,
  language: null,
  status: null,
  reason: null
)