콘텐츠로 이동

HistoryPage

이 콘텐츠는 아직 번역되지 않았습니다.

history()/readHistoryPage/getHistoryPage 结果(配对完整的切片 + 分页游标)

messages: IRMessage[];

配对完整的切片(两端皆干净边界)


nextOffset: number;

下一页起点(原始下标空间 = 对齐后终点;空页 = 回填的 offset)。翻页恒用它推进——出流投影可能剔除页内消息,offset + messages.length 不可靠


offset: number;

切片首元素的绝对下标(≤ 请求 offset;向前对齐时回填对齐后的值)


total: number;

全量消息数