def METHOD_NAME(self, resolution: Resolution) -> str:
    """
    Returns the message to publish.
    """
    external_url = get_server_setting(ServerSettingsVar.SEMATIC_DASHBOARD_URL)
    root_run = get_run(run_id=resolution.root_id)
    # TODO: in the future we might either have a url-aware server-side component build
    #  this url for us (e.g. have resolutions.py build a path to the specific
    #  resolution panel), or have a url which only contains the resolution root id
    #  redirect to the full url path
    resolution_url = _RESOLUTION_URL_TEMPLATE.format(
        external_url=external_url,
        resolution_id=resolution.root_id,
    )
    message = _MESSAGE_TEMPLATE.format(
        resolution_name=root_run.name or root_run.function_path,
        resolution_url=resolution_url,
        short_resolution_id=resolution.root_id[0:6],
    )
    return message