requestBacklogForward

open fun requestBacklogForward(bufferId: BufferId, first: MsgId = MsgId(-1), last: MsgId = MsgId(-1), limit: Int = -1, type: Int = -1, flags: Int = -1)

Loads backlog for bufferId, where the message id is >= first and <last. If first or last is unset, the list will be unbounded in that direction.

If a limit is set, the list will be truncated to the oldest N messages.

Only messages matching type and flags will be returned and counted.