Constructor and Description |
---|
MessageFetcher(String pathServiceSid,
String pathChannelSid,
String pathSid)
Construct a new MessageFetcher.
|
Modifier and Type | Method and Description |
---|---|
Message |
fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.
|
fetch, fetchAsync, fetchAsync
public MessageFetcher(String pathServiceSid, String pathChannelSid, String pathSid)
pathServiceSid
- The SID of the Service to fetch the resource frompathChannelSid
- The unique ID of the Channel the message to fetch
belongs topathSid
- The unique string that identifies the resourcepublic Message fetch(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.