async def METHOD_NAME(self) -> web.Application:
    """Construct the aiohttp application."""
    app_args = {}
    if self.max_message_size:
        app_args["client_max_size"] = self.max_message_size
    app = web.Application(**app_args)
    app.add_routes([web.get("/", self.invite_message_handler)])
    app.add_routes([web.post("/", self.inbound_message_handler)])
    return app