Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1008 Bytes

File metadata and controls

26 lines (20 loc) · 1008 Bytes

Zernio::WebhookPayloadPostPlatformPlatform

Properties

Name Type Description Notes
name String Platform name (e.g. `twitter`, `tiktok`, `instagram`).
status String Terminal status this event fires on. Matches the event suffix.
platform_post_id String Platform-native post id. Present on `published`, absent on `failed`. [optional]
published_url String Public URL to the platform-side post. Present on `published` (when the platform exposes one and it is not a draft). [optional]
error String Error message from the platform. Present on `failed`, absent on `published`. [optional]

Example

require 'zernio-sdk'

instance = Zernio::WebhookPayloadPostPlatformPlatform.new(
  name: null,
  status: null,
  platform_post_id: null,
  published_url: null,
  error: null
)