We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d9b8a0 commit 62f718dCopy full SHA for 62f718d
src/api/comments.ts
@@ -20,6 +20,7 @@ export const add = <T = Comments.AddResponse>(
20
pictureKeys: option.pictureKeys ?? [],
21
targetId,
22
targetType,
23
+ replyToCommentId: option.replyToCommentId,
24
},
25
})
26
)
src/types/options.ts
@@ -73,6 +73,10 @@ export interface AddCommentOption {
73
* @default `[]`
74
*/
75
pictureKeys?: string[]
76
+ /**
77
+ * @description 回复的评论 ID
78
+ */
79
+ replyToCommentId?: string
80
}
81
82
export interface ListCommentMoreKey {
0 commit comments