Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.44 KB

MessageWebhook.md

File metadata and controls

31 lines (24 loc) · 1.44 KB

SunshineConversationsClient::MessageWebhook

Properties

Name Type Description Notes
id String The unique ID of the message. [optional]
received String A datetime string with the format `YYYY-MM-DDThh:mm:ss.SSSZ` representing when Sunshine Conversations received the message. [optional]
author AuthorWebhook [optional]
content Content The content of the message. [optional]
source Source [optional]
quoted_message QuotedMessage The quoted message is currently only available for WhatsApp and Web Messenger `formResponse` messages. [optional]
metadata Object [optional]
deleted Boolean true if the message serves as a placeholder for one that has been deleted. [optional]

Code Sample

require 'SunshineConversationsClient'

instance = SunshineConversationsClient::MessageWebhook.new(id: 5e552ef595e5206375bb835d,
                                 received: 2019-03-21T18:48:52.760Z,
                                 author: null,
                                 content: null,
                                 source: null,
                                 quoted_message: null,
                                 metadata: null,
                                 deleted: null)