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

package bsky

// schema: app.bsky.notification.registerPush

import (
	"context"

	"github.com/bluesky-social/indigo/xrpc"
)

// NotificationRegisterPush_Input is the input argument to a app.bsky.notification.registerPush call.
type NotificationRegisterPush_Input struct {
	AppId      string `json:"appId" cborgen:"appId"`
	Platform   string `json:"platform" cborgen:"platform"`
	ServiceDid string `json:"serviceDid" cborgen:"serviceDid"`
	Token      string `json:"token" cborgen:"token"`
}

// NotificationRegisterPush calls the XRPC method "app.bsky.notification.registerPush".
func NotificationRegisterPush(ctx context.Context, c *xrpc.Client, input *NotificationRegisterPush_Input) error {
	if err := c.Do(ctx, xrpc.Procedure, "application/json", "app.bsky.notification.registerPush", nil, input, nil); err != nil {
		return err
	}

	return nil
}
