Constructors
constructor
- new Comments(accessToken: string): Comments
Properties
Private accessToken
accessToken: string
Private api
api
: Api = new api(this.accessToken)
Methods
deviation
-
Parameters
-
params: object
-
Optional commentid?: string
-
deviationid: string
-
Optional limit?: number
-
Optional mature_content?: boolean
-
Optional maxdepth?: number
-
Optional offset?: number
profile
-
Parameters
-
params: object
-
Optional commentid?: string
-
Optional limit?: number
-
Optional mature_content?: boolean
-
Optional maxdepth?: number
-
Optional offset?: number
-
username: string
siblings
-
Parameters
-
params: object
-
commentid: string
-
Optional ext_item?: boolean
-
Optional limit?: number
-
Optional mature_content?: boolean
-
Optional offset?: number
status
-
Parameters
-
params: object
-
Optional commentid?: string
-
Optional limit?: number
-
Optional mature_content?: boolean
-
Optional maxdepth?: number
-
Optional offset?: number
-
statusid: string
Fetches all comments on a certain deviation.