def __init__(self, version, service_sid, channel_sid, sid):
        """
        Initialize the InviteContext

        :param Version version: Version that contains the resource
        :param service_sid: The SID of the Service to fetch the resource from
        :param channel_sid: The SID of the Channel the resource to fetch belongs to
        :param sid: The unique string that identifies the resource

        :returns: twilio.rest.chat.v2.service.channel.invite.InviteContext
        :rtype: twilio.rest.chat.v2.service.channel.invite.InviteContext
        """
        super(InviteContext, self).__init__(version)

        # Path Solution
        self._solution = {'service_sid': service_sid, 'channel_sid': channel_sid, 'sid': sid, }
        self._uri = '/Services/{service_sid}/Channels/{channel_sid}/Invites/{sid}'.format(**self._solution)
def __init__ ( self , version , service_sid , channel_sid , sid ) : super ( InviteContext , self ) . __init__ ( version ) self . _solution = { 'service_sid' : service_sid , 'channel_sid' : channel_sid , 'sid' : sid , } self . _uri = '/Services/{service_sid}/Channels/{channel_sid}/Invites/{sid}' . format ( ** self . _solution )
Initialize the InviteContext

        :param Version version: Version that contains the resource
        :param service_sid: The SID of the Service to fetch the resource from
        :param channel_sid: The SID of the Channel the resource to fetch belongs to
        :param sid: The unique string that identifies the resource

        :returns: twilio.rest.chat.v2.service.channel.invite.InviteContext
        :rtype: twilio.rest.chat.v2.service.channel.invite.InviteContext