chatBskyConvoRemoveReaction function

Future<XRPCResponse<ConvoRemoveReactionOutput>> chatBskyConvoRemoveReaction({
  1. required String convoId,
  2. required String messageId,
  3. required String value,
  4. required ServiceContext $ctx,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Removes an emoji reaction from a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in that reaction not being present, even if it already wasn't.

Implementation

Future<XRPCResponse<ConvoRemoveReactionOutput>> chatBskyConvoRemoveReaction({
  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.chatBskyConvoRemoveReaction,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {
    ...?$unknown,
    'convoId': convoId,
    'messageId': messageId,
    'value': value,
  },
  to: const ConvoRemoveReactionOutputConverter().fromJson,
);