API C Club.GetMessagesInRange

Get downloaded messages in the given range.
 messages = C_Club.GetMessagesInRange(clubId, streamId, oldest, newest)
==Arguments==
:;clubId:
:;streamId:
:;oldest:
:;newest:
==Returns==
:;messages:
==Details==
* The messages are filtered by ignored players
==Example==
* Prints all guild messages from start to end. Only tested with a small guild.
local club = C_Club.GetGuildClubId()
local streams = C_Club.GetStreams(club)
local guildStream = streams[1].streamId
local ranges = C_Club.GetMessageRanges(club, guildStream)
local oldest, newest = ranges[1].oldestMessageId, ranges[1].newestMessageId
local messages = C_Club.GetMessagesInRange(club, guildStream, oldest, newest)
for _, v in pairs(messages) do
	local timestamp = date("%Y-%m-%d %H:%M:%S", v.messageId.epoch/1e6)
	print(format("%s %s: |cffdda0dd%s|r", timestamp, v.author.name, v.content))
end
==Patch changes==