sendMessageBatch method

Future<XRPCResponse<SendMessageBatchOutput>> sendMessageBatch({
  1. required List<BatchItem> items,
})

Implementation

Future<core.XRPCResponse<SendMessageBatchOutput>> sendMessageBatch({
  required List<BatchItem> items,
}) async =>
    await _ctx.post(
      ns.chatBskyConvoSendMessageBatch,
      body: {
        'items': items.map((e) => e.toJson()).toList(),
      },
      to: SendMessageBatchOutput.fromJson,
    );