Skip to content

Commit e862f3e

Browse files
committed
docs(conversation): fix the type of the queryMessage type option
1 parent bf0dfd0 commit e862f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conversations/conversation-base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ export default class ConversationBase extends EventEmitter {
474474
*
475475
* @param {Object} [options]
476476
* @param {Number} [options.limit] 限制查询结果的数量,目前服务端默认为 20
477-
* @param {type} [options.type] 指定查询的富媒体消息类型,不指定则查询所有消息。
477+
* @param {Number} [options.type] 指定查询的富媒体消息类型,不指定则查询所有消息。
478478
* @param {MessageQueryDirection} [options.direction] 查询的方向。
479479
* 在不指定的情况下如果 startTime 大于 endTime,则为从新到旧查询,可以实现加载聊天记录等场景。
480480
* 如果 startTime 小于 endTime,则为从旧到新查询,可以实现弹幕等场景。

0 commit comments

Comments
 (0)