How to use the messagebird.call_flow.CallFlow function in messagebird

To help you get started, we’ve selected a few messagebird examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github messagebird / python-rest-api / messagebird / client.py View on Github external
def call_flow_update(self, id, title, steps, default, record):
        params = {'title': title, 'steps': steps, 'default': default, 'record': record}
        return CallFlow().load(self.request('call-flows/' + str(id), 'PUT', params, VOICE_TYPE))
github messagebird / python-rest-api / messagebird / call_flow.py View on Github external
def __init__(self):
        self._data = None
        self._pagination = None

        super(CallFlowList, self).__init__(CallFlow)
github messagebird / python-rest-api / messagebird / client.py View on Github external
def call_flow(self, id):
        return CallFlow().load(self.request('call-flows/' + str(id), 'GET', None, VOICE_TYPE))
github messagebird / python-rest-api / messagebird / client.py View on Github external
def call_flow_create(self, title, steps, default=False, record=False):
        params = {'title': title, 'steps': steps, 'default': default, 'record': record}
        return CallFlow().load(self.request('call-flows', 'POST', params, VOICE_TYPE))