Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.42 KB

File metadata and controls

34 lines (28 loc) · 1.42 KB

Zernio::WebhookPayloadConversationStartedConversation

Properties

Name Type Description Notes
id String Internal conversation ID
platform String
platform_conversation_id String
participant_id String Contact's platform identifier (IGSID, PSID, wa_id, etc.) [optional]
participant_name String
participant_username String Contact's handle when the platform exposes one [optional]
participant_picture String [optional]
status String
contact_id String Zernio CRM Contact ID for the participant, when one exists. Resolved by joining `participantId` to the ContactChannel collection (same join used by message., reaction.received, and call. webhooks). Best-effort: omitted when no channel matches or `participantId` is absent. Lets integrators seed the CRM straight from `conversation.started` without waiting for the first `message.*` event. [optional]

Example

require 'zernio-sdk'

instance = Zernio::WebhookPayloadConversationStartedConversation.new(
  id: null,
  platform: null,
  platform_conversation_id: null,
  participant_id: null,
  participant_name: null,
  participant_username: null,
  participant_picture: null,
  status: null,
  contact_id: null
)