new MemberContext(version, serviceSid, channelSid, sid)
Initialize the MemberContext
Parameters:
Name | Type | Description |
---|---|---|
version |
V1 | Version of the resource |
serviceSid |
sid | The service_sid |
channelSid |
sid_like | The channel_sid |
sid |
sid | The sid |
Methods
fetch(callbackopt) → {Promise}
fetch a MemberInstance
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
callback |
function |
<optional> |
Callback to handle processed record |
Returns:
Resolves to processed MemberInstance
- Type
- Promise
remove(callbackopt) → {Promise}
remove a MemberInstance
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
callback |
function |
<optional> |
Callback to handle processed record |
Returns:
Resolves to processed MemberInstance
- Type
- Promise
toJSON()
Provide a user-friendly representation
Returns:
Object
update(optsopt, callbackopt) → {Promise}
update a MemberInstance
Parameters:
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
object |
<optional> |
Options for request
Properties
|
||||||||||||
callback |
function |
<optional> |
Callback to handle processed record |
Returns:
Resolves to processed MemberInstance
- Type
- Promise