def get_updates(self, timeout=0, offset=None):
    params = dict(timeout=timeout, offset=offset)
    return self._bot_cmd(requests.get, 'getUpdates', params=params)
def get_updates(self, timeout=0, offset=None):
    params = dict(timeout=timeout, offset=offset)
    return self._bot_cmd(requests.get, 'getUpdates', params=params)