async def receive_updates(self, request: Request):
body = await request.read()<EOL>try:<EOL><INDENT>content = ujson.loads(body)<EOL><DEDENT>except ValueError:<EOL><INDENT>return json_response({<EOL>'<STR_LIT:error>': True,<EOL>'<STR_LIT:message>': '<STR_LIT>',<EOL>}, status=<NUM_LIT>)<EOL><DEDENT>logger.debug('<STR_LIT>', content)<EOL>message = TelegramMessage(content, self)<EOL>responder = TelegramResponder(content, self)<EOL>await self._notify(message, responder)<EOL>return json_response({<EOL>'<STR_LIT:error>': False,<EOL>})<EOL>
Handle updates from Telegram