SunshineConversationsClient::ReferralDetails

August 27, 2025 · View on GitHub

Properties

NameTypeDescriptionNotes
sourceStringThe source of the referral - MESSENGER_CODE, ADS etc…[optional]
typeStringThe type of referral, typically OPEN-THREAD.[optional]
ad_idStringIf the referral came from an ad, this field will be present with the ad’s Id.[optional]

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::ReferralDetails.new(
  source: MESSENGER_CODE,
  type: OPEN-THREAD,
  ad_id: 4216212847577
)