chatBskyConvoAddReaction function
Adds an emoji reaction to a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in a single reaction.
Implementation
Future<XRPCResponse<ConvoAddReactionOutput>> chatBskyConvoAddReaction({
required String convoId,
required String messageId,
required String value,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.chatBskyConvoAddReaction,
headers: {'Content-type': 'application/json', ...?$headers},
body: {
...?$unknown,
'convoId': convoId,
'messageId': messageId,
'value': value,
},
to: const ConvoAddReactionOutputConverter().fromJson,
);