def METHOD_NAME(self, obj):
    if obj.channel is None:
        return None
    return {
        "display_name": obj.slack_channel_name,
        "slack_id": obj.channel,
        "id": obj.slack_channel_pk,
    }