def ch_admin_put_view(ch: Channel): return jsonify({ "msg": f"channel {ch.name} updated", "channel": ch.json() }), 200
def ch_admin_delete_view(ch: Channel): return jsonify({ "msg": f"channel {ch.name} deleted", "channel": ch.json() }), 200
def ch_admin_get_view(ch: Channel): return jsonify({ "msg": f"channel {ch.name} retrieved", "channel": ch.json() }), 200