Constructors
constructor
- new Comments(api: Api): Comments
Properties
api
Methods
archiveComment
- archiveComment(
elementHash: string,
commentId: string,
extraPath?: string,
): Promise<ApiResponse<unknown, unknown>> Parameters
- elementHash: string
- commentId: string
Optional
extraPath: string
Returns Promise<ApiResponse<unknown, unknown>>
getComments
- getComments(
elementHash: string,
extraPath?: string,
): Promise<ApiResponse<Comment[], Comment[]>> Parameters
- elementHash: string
Optional
extraPath: string