def get_custom_template(self) -> Optional[str]:
        """Get the custom template if defined"""
        if not self.slack_custom_templates:
            return None

        return next(iter(self.slack_custom_templates.values()))
Get the custom template if defined
src/robusta/core/sinks/slack/preview/slack_sink_preview_params.py