requestBacklogAllFiltered

open fun requestBacklogAllFiltered(first: MsgId = MsgId(-1), last: MsgId = MsgId(-1), limit: Int = -1, additional: Int = 0, type: Int = -1, flags: Int = -1)

Loads backlog for all buffers, 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 newest N messages.

If both first and last are set, and the list of messages is not truncated by limit, additional messages will be loaded before last.

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