- Preparing search index...
- The search index is not available
pr0gramm-api
Class Pr0grammCommentsService
Properties
Private
Readonly
requester
Methods
delete
- delete(id, reason): Promise<Pr0grammResponse>
-
Parameters
-
id: number
-
reason: string
edit
- edit(id, newContent): Promise<Pr0grammResponse>
-
Parameters
-
id: number
-
newContent: string
post
- post(itemId, content, replyTo?): Promise<PostCommentResponse>
-
Parameters
-
itemId: number
-
content: string
-
replyTo: number = 0
softDelete
- softDelete(id, reason): Promise<Pr0grammResponse>
-
Parameters
-
id: number
-
reason: string