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

package bsky

// schema: app.bsky.notification.unregisterPush

import (
	"context"

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

// NotificationUnregisterPush_Input is the input argument to a app.bsky.notification.unregisterPush call.
type NotificationUnregisterPush_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"`
}

// NotificationUnregisterPush calls the XRPC method "app.bsky.notification.unregisterPush".
func NotificationUnregisterPush(ctx context.Context, c util.LexClient, input *NotificationUnregisterPush_Input) error {
	if err := c.LexDo(ctx, util.Procedure, "application/json", "app.bsky.notification.unregisterPush", nil, input, nil); err != nil {
		return err
	}

	return nil
}
