[**RongIMLib**](../README.md) *** [RongIMLib](../globals.md) / GetHistoryMessageOption # Interface: GetHistoryMessageOption 获取历史消息配置项 ## Extends - `Omit`\<`IGetHistoryMessageOption`, `"messageType"`\> ## Properties ### timestamp? > `optional` **timestamp?**: `number` 获取此时间之前的消息,0 为从当前时间拉取 #### Inherited from `Omit.timestamp` *** ### count? > `optional` **count?**: `number` 获取消息的数量,有效值范围 [1-100],默认值 `20` * SDK < 5.7.4,范围为 [1-20] * SDK ≧ 5.7.4,范围为 [1-100] #### Inherited from `Omit.count` *** ### order? > `optional` **order?**: `0` \| `1` 获取消息的排列顺序 * 0: 升序 * 1: 降序 #### Inherited from `Omit.order`