sendMessageBatch method
Implementation
Future<XRPCResponse<SendMessageBatchOutput>> sendMessageBatch({
required List<BatchItem> items,
Map<String, String>? $unknown,
Map<String, String>? $headers,
PostClient? $client,
}) async =>
await _ctx.post<SendMessageBatchOutput>(
ns.chatBskyConvoSendMessageBatch,
headers: $headers,
body: {
'items': items.map((e) => e.toJson()).toList(),
...?$unknown,
},
to: const SendMessageBatchOutputConverter().fromJson,
client: $client,
);