SunshineConversationsClient::Twitter
August 27, 2025 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| default_responder_id | String | The 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="https://developer.zendesk.com/documentation/conversations/messaging-platform/programmable-conversations/switchboard/#default-integration-assignment\">Switchboard guide</a>. | [optional] |
| default_responder | DefaultResponderDefaultResponder | [optional] | |
| type | String | To set up a Twitter integration, please follow the steps outlined in the Twitter Setup Guide. | [optional][default to 'twitter'] |
| tier | String | Your Twitter app's tier. Only "enterprise" is supported for new integrations. | |
| env_name | String | The Twitter dev environments label. Only required / used for sandbox and premium tiers. | [optional][readonly] |
| consumer_key | String | The consumer key for your Twitter app. | |
| consumer_secret | String | The consumer key secret for your Twitter app. | |
| access_token_key | String | The access token key obtained from your user via oauth. | |
| access_token_secret | String | The 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
)