async def _send(self,<EOL>request: Request,<EOL>content: Dict[Text, Any],<EOL>stack: Stack):
msg = {<EOL>'<STR_LIT>': {<EOL>'<STR_LIT:id>': request.conversation.fbid,<EOL>},<EOL>'<STR_LIT:message>': content,<EOL>}<EOL>if stack and stack.has_layer(MessagingType):<EOL><INDENT>mt = stack.get_layer(MessagingType)<EOL><DEDENT>else:<EOL><INDENT>mt = MessagingType(response=True)<EOL><DEDENT>msg.update(mt.serialize())<EOL>msg_json = ujson.dumps(msg)<EOL>headers = {<EOL>'<STR_LIT>': '<STR_LIT:application/json>',<EOL>}<EOL>params = {<EOL>'<STR_LIT>': self._access_token(request),<EOL>}<EOL>post = self.session.post(<EOL>MESSAGES_ENDPOINT,<EOL>params=params,<EOL>data=msg_json,<EOL>headers=headers,<EOL>)<EOL>logger.debug('<STR_LIT>', msg_json)<EOL>async with post as r:<EOL><INDENT>await self._handle_fb_response(r)<EOL><DEDENT>
Actually proceed to sending the message to the Facebook API.