listBatchMessages method
Future<List<DecodedMessage> >
listBatchMessages(
- Iterable<
Conversation> conversations, { - Iterable<
Pagination> ? paginations, - DateTime? start,
- DateTime? end,
- int? limit,
- SortDirection sort = xmtp.SortDirection.SORT_DIRECTION_DESCENDING,
This lists messages sent to the conversations
.
This is identical to listMessages except it pulls messages from
multiple conversations in a single call.
Implementation
Future<List<DecodedMessage>> listBatchMessages(
Iterable<Conversation> conversations, {
Iterable<Pagination>? paginations,
DateTime? start,
DateTime? end,
int? limit,
xmtp.SortDirection sort = xmtp.SortDirection.SORT_DIRECTION_DESCENDING,
}) =>
_conversations.listMessages(
conversations,
paginations: paginations,
start: start,
end: end,
limit: limit,
sort: sort,
);