// Code generated by glex; DO NOT EDIT. // Lexicon schema: place.stream.branding.exportBundle package placestream import ( "bytes" "context" glex "github.com/streamplace/glex/runtime" ) // BrandingExportBundle calls the XRPC method "place.stream.branding.exportBundle". // // Download the node's branding as a bundle: a zip with branding.yaml (every set key; image keys name files in the zip) plus the image files. Re-import it on another node with place.stream.branding.importBundle. Requires admin authorization. // // broadcaster: DID of the broadcaster. Defaults to this node's. func BrandingExportBundle(ctx context.Context, c glex.LexClient, broadcaster string) ([]byte, error) { buf := new(bytes.Buffer) params := map[string]interface{}{} if broadcaster != "" { params["broadcaster"] = broadcaster } if err := c.LexDo(ctx, glex.Query, "", "place.stream.branding.exportBundle", params, nil, buf); err != nil { return nil, err } return buf.Bytes(), nil }