getMessagesByConversation abstract method

Future<List<Message>> getMessagesByConversation(
  1. String conversationId, {
  2. int limit = 50,
})

Gets messages for a conversation (one-shot, not a stream).

For reactive updates, use watchMessages instead.

Implementation

Future<List<Message>> getMessagesByConversation(String conversationId, {int limit = 50});