Class MessageFetcher
- java.lang.Object
-
- com.twilio.base.Fetcher<Message>
-
- com.twilio.rest.chat.v1.service.channel.MessageFetcher
-
-
Constructor Summary
Constructors Constructor Description MessageFetcher(String pathServiceSid, String pathChannelSid, String pathSid)
Construct a new MessageFetcher.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Message
fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.-
Methods inherited from class com.twilio.base.Fetcher
fetch, fetchAsync, fetchAsync
-
-
-
-
Constructor Detail
-
MessageFetcher
public MessageFetcher(String pathServiceSid, String pathChannelSid, String pathSid)
Construct a new MessageFetcher.- Parameters:
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 resource
-
-
Method Detail
-
fetch
public Message fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.
-
-