Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 879 Bytes

File metadata and controls

22 lines (16 loc) · 879 Bytes

Zernio::InboxWebhookMessageAttachmentsInner

Properties

Name Type Description Notes
type String Attachment type (image, video, file, sticker, audio)
url String Where to fetch the attachment. The contract depends on direction and platform: inbound WhatsApp media points at the authenticated `GET /v1/whatsapp/media/{mediaId}` and requires `Authorization: Bearer <your API key>`, while outgoing media carries the URL originally supplied and Instagram / Facebook / Telegram carry direct platform CDN links that need no authentication.
payload Object Additional attachment metadata [optional]

Example

require 'zernio-sdk'

instance = Zernio::InboxWebhookMessageAttachmentsInner.new(
  type: null,
  url: null,
  payload: null
)