SunshineConversationsClient::Twitter

August 27, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
default_responder_idStringThe default responder ID for the integration. This is the ID of the responder that will be used to send messages to the user. For more information, refer to the <a href=&quot;https://developer.zendesk.com/documentation/conversations/messaging-platform/programmable-conversations/switchboard/#default-integration-assignment\&quot;&gt;Switchboard guide</a>.[optional]
default_responderDefaultResponderDefaultResponder[optional]
typeStringTo set up a Twitter integration, please follow the steps outlined in the Twitter Setup Guide.[optional][default to 'twitter']
tierStringYour Twitter app's tier. Only &quot;enterprise&quot; is supported for new integrations.
env_nameStringThe Twitter dev environments label. Only required / used for sandbox and premium tiers.[optional][readonly]
consumer_keyStringThe consumer key for your Twitter app.
consumer_secretStringThe consumer key secret for your Twitter app.
access_token_keyStringThe access token key obtained from your user via oauth.
access_token_secretStringThe access token secret obtained from your user via oauth.

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::Twitter.new(
  default_responder_id: null,
  default_responder: null,
  type: null,
  tier: null,
  env_name: null,
  consumer_key: your_consumer_key,
  consumer_secret: your_consumer_secret,
  access_token_key: your_access_token_key,
  access_token_secret: your_access_token_secret
)