// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package chat

// schema: chat.bsky.actor.exportAccountData

import (
	"bytes"
	"context"

	"github.com/bluesky-social/indigo/lex/util"
)

// ActorExportAccountData calls the XRPC method "chat.bsky.actor.exportAccountData".
func ActorExportAccountData(ctx context.Context, c util.LexClient) ([]byte, error) {
	buf := new(bytes.Buffer)
	if err := c.LexDo(ctx, util.Query, "", "chat.bsky.actor.exportAccountData", nil, nil, buf); err != nil {
		return nil, err
	}

	return buf.Bytes(), nil
}
