예제 #1
0
 def process_update(self, update_json):
     message = message_from_json(update_json["message"])
     self.process_messages([message])
예제 #2
0
 def get_messages(self, results):
     return [message_from_json(m["message"]) for m in results if "message" in m]