getMessagesById method
Retrieves a list of messages by given messageIDs.
Implementation
Future<GetMessagesByIdResponse> getMessagesById(
List<String> messageIDs,
) async {
_checkInitialized();
final res = await _client.getMessagesById(id!, type, messageIDs);
final messages = res.messages;
state!.updateChannelState(state!.channelState.copyWith(messages: messages));
return res;
}