'Initialize the MessageContext
:param Version version: Version that contains the resource
:param service_sid: The service_sid
:param channel_sid: The channel_sid
:param sid: The sid
:returns: twilio.rest.chat.v1.service.channel.message.MessageContext
:rtype: twilio.rest.chat.v1.service.channel.message.MessageContext'

def __init__(self, version, service_sid, channel_sid, sid):

    super(MessageContext, self).__init__(version)
    self._solution = {'service_sid': service_sid, 'channel_sid': channel_sid, 'sid': sid}
    self._uri = '/Services/{service_sid}/Channels/{channel_sid}/Messages/{sid}'.format(**self._solution)
