Пример #1
0
 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)
Пример #2
0
 def setup(self):
     self.update = Update.from_response(self.response)
Пример #3
0
 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)
Пример #4
0
 def setup(self):
     self.update = Update.from_response(self.response)