示例#1
0
    def messages(self):
        """
        Access the messages

        :returns: twilio.rest.chat.v1.service.channel.message.MessageList
        :rtype: twilio.rest.chat.v1.service.channel.message.MessageList
        """
        if self._messages is None:
            self._messages = MessageList(
                self._version,
                service_sid=self._solution['service_sid'],
                channel_sid=self._solution['sid'],
            )
        return self._messages
示例#2
0
 def messages(self):
     """
     Access the messages
     
     :returns: MessageList
     :rtype: MessageList
     """
     if self._messages is None:
         self._messages = MessageList(
             self._version,
             service_sid=self._solution['service_sid'],
             channel_sid=self._solution['sid'],
         )
     return self._messages