[WIP] music platform user data scraper
teal-fm atproto
at main 922 B view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package bsky 4 5// schema: app.bsky.notification.registerPush 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/xrpc" 11) 12 13// NotificationRegisterPush_Input is the input argument to a app.bsky.notification.registerPush call. 14type NotificationRegisterPush_Input struct { 15 AppId string `json:"appId" cborgen:"appId"` 16 Platform string `json:"platform" cborgen:"platform"` 17 ServiceDid string `json:"serviceDid" cborgen:"serviceDid"` 18 Token string `json:"token" cborgen:"token"` 19} 20 21// NotificationRegisterPush calls the XRPC method "app.bsky.notification.registerPush". 22func NotificationRegisterPush(ctx context.Context, c *xrpc.Client, input *NotificationRegisterPush_Input) error { 23 if err := c.Do(ctx, xrpc.Procedure, "application/json", "app.bsky.notification.registerPush", nil, input, nil); err != nil { 24 return err 25 } 26 27 return nil 28}