Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.88 KB

File metadata and controls

34 lines (28 loc) · 1.88 KB

SunshineConversationsClient::Twitter

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=&quot;https://developer.zendesk.com/documentation/conversations/messaging-platform/programmable-conversations/switchboard/#default-integration-assignment\&quot;&gt;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 &quot;enterprise&quot; 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
)