Service Configuration Resource
The Configuration Resource represents all of the configuration settings for a Conversation Service, such as the default roles assigned to Users.
ServiceConfiguration properties
Resource Properties in REST API format | |
---|---|
chat_service_sid
|
The unique string that we created to identify the Service configuration resource. |
default_conversation_creator_role_sid
|
The conversation-level role assigned to a conversation creator user when they join a new conversation. See the Conversation Role for more info about roles. |
default_conversation_role_sid
|
The conversation-level role assigned to users when they are added to a conversation. See the Conversation Role for more info about roles. |
default_chat_service_role_sid
|
The service-level role assigned to users when they are added to the service. See the Conversation Role for more info about roles. |
url
|
An absolute API resource URL for this service configuration. |
links
|
Contains an absolute API resource URL to access the push notifications configuration of this service. |
reachability_enabled
|
Whether the Reachability Indicator is enabled for this Conversations Service. The default is |
Fetch a ServiceConfiguration resource
https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Configuration
パラメーター
Parameters in REST API format | |
---|---|
chat_service_sid
Path
|
The SID of the Service configuration resource to fetch. |
例 1
Update a ServiceConfiguration resource
https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Configuration
パラメーター
Parameters in REST API format | |
---|---|
chat_service_sid
Path
|
The SID of the Service configuration resource to update. |
default_conversation_creator_role_sid
オプション
|
The conversation-level role assigned to a conversation creator when they join a new conversation. See the Conversation Role for more info about roles. |
default_conversation_role_sid
オプション
|
The conversation-level role assigned to users when they are added to a conversation. See the Conversation Role for more info about roles. |
default_chat_service_role_sid
オプション
|
The service-level role assigned to users when they are added to the service. See the Conversation Role for more info about roles. |
reachability_enabled
オプション
|
Whether the Reachability Indicator is enabled for this Conversations Service. The default is |
例 1
ヘルプが必要ですか?
誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。