appBskyFeedSendInteractions function
Future<XRPCResponse<EmptyData> >
appBskyFeedSendInteractions({
- required List<
Interaction> interactions, - required ServiceContext $ctx,
- Map<
String, String> ? $headers, - Map<
String, String> ? $unknown,
Send information about interactions with feed items back to the feed generator that served them.
Implementation
Future<XRPCResponse<EmptyData>> appBskyFeedSendInteractions({
required List<Interaction> interactions,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.appBskyFeedSendInteractions,
headers: {'Content-type': 'application/json', ...?$headers},
body: {
...?$unknown,
'interactions': interactions.map((e) => e.toJson()).toList(),
},
);