appBskyBookmarkCreateBookmark function
Creates a private bookmark for the specified record. Currently, only app.bsky.feed.post
records are supported. Requires authentication.
Implementation
Future<XRPCResponse<EmptyData>> appBskyBookmarkCreateBookmark({
required AtUri uri,
required String cid,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.appBskyBookmarkCreateBookmark,
headers: {'Content-type': 'application/json', ...?$headers},
body: {...?$unknown, 'uri': uri.toString(), 'cid': cid},
);