new ConfigurationContext(version, chatServiceSid)
Initialize the ConfigurationContext
Parameters:
Name | Type | Description |
---|---|---|
version |
V1 | Version of the resource |
chatServiceSid |
sid | The SID of the Service configuration resource to fetch |
Classes
Methods
fetch(callbackopt) → {Promise}
fetch a ConfigurationInstance
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
callback |
function |
<optional> |
Callback to handle processed record |
Returns:
Resolves to processed ConfigurationInstance
- Type
- Promise
notifications(sid) → {Twilio.Conversations.V1.ServiceContext.ConfigurationContext.NotificationContext}
Parameters:
Name | Type | Description |
---|---|---|
sid |
string | sid of instance |
Returns:
toJSON()
Provide a user-friendly representation
Returns:
Object
update(optsopt, callbackopt) → {Promise}
update a ConfigurationInstance
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
object |
<optional> |
Options for request
Properties
|
||||||||||||||||||||
callback |
function |
<optional> |
Callback to handle processed record |
Returns:
Resolves to processed ConfigurationInstance
- Type
- Promise