Class: MessagePage

Twilio.Chat.V2.ServiceContext.ChannelContext.MessagePage(version, response, solution)

new MessagePage(version, response, solution)

Initialize the MessagePage
Parameters:
Name Type Description
version V2 Version of the resource
response Response.<string> Response from the API
solution MessageSolution Path solution
Source:
Returns:
MessagePage

Methods

getInstance(payload)

Build an instance of MessageInstance
Parameters:
Name Type Description
payload MessagePayload Payload response from the API
Source:
Returns:
MessageInstance

toJSON()

Provide a user-friendly representation
Source:
Returns:
Object