Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.43 KB

File metadata and controls

36 lines (30 loc) · 1.43 KB

Zernio::WebhookPayloadMessageMessage

Properties

Name Type Description Notes
id String Internal message ID
conversation_id String Internal conversation ID
platform String
platform_message_id String Platform's message ID
direction String
text String Message text content
attachments Array<WebhookPayloadMessageMessageAttachmentsInner>
sender WebhookPayloadMessageMessageSender
sent_at Time When the message was sent, as reported by the platform and passed through unmodified. Full ISO 8601 date-time: Instagram and Facebook carry millisecond precision, while some platforms (for example WhatsApp and Telegram) report whole seconds. Use this field as the chronological ordering key. If two messages share the same value, fetch the conversation messages with sortOrder=desc for the deterministic order.
is_read Boolean

Example

require 'zernio-sdk'

instance = Zernio::WebhookPayloadMessageMessage.new(
  id: null,
  conversation_id: null,
  platform: null,
  platform_message_id: null,
  direction: null,
  text: null,
  attachments: null,
  sender: null,
  sent_at: null,
  is_read: null
)