chatBskyConvoDeleteMessageForSelf function

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

Implementation

Future<XRPCResponse<DeletedMessageView>> chatBskyConvoDeleteMessageForSelf({
  required String convoId,
  required String messageId,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.chatBskyConvoDeleteMessageForSelf,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {...?$unknown, 'convoId': convoId, 'messageId': messageId},
  to: const DeletedMessageViewConverter().fromJson,
);