def process(self, msg, convs=None): convs = {} if convs is None else convs update = Update.from_response({'update_id': UPDATE_ID, 'message': msg}) process_message(update, self.telegram, self.bicimad, convs)
def setup(self): self.update = Update.from_response(self.response)