SunshineConversationsClient::MatchCriteriaMessagebird

August 27, 2025 · View on GitHub

Properties

NameTypeDescriptionNotes
typeStringThe channel type.[default to 'messagebird']
integration_idStringThe ID of the integration to link. Must match the provided type.
primaryBooleanFlag indicating whether the client will become the primary for the target conversation once linking is complete.[optional][default to true]
phone_numberStringThe user’s phone number. It must contain the + prefix and the country code. Examples of valid phone numbers: +1 212-555-2368, +12125552368, +1 212 555 2368. Examples of invalid phone numbers: 212 555 2368, 1 212 555 2368.

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::MatchCriteriaMessagebird.new(
  type: null,
  integration_id: 582dedf230e788746891281a,
  primary: null,
  phone_number: +15550001234
)