Constructors
constructor
- new CommentClient(base, siteClient): CommentClient
Properties
Private
base
Private
siteClient
Methods
getAll
- getAll(handleOrCharacterId, noteId, options?): Promise<Comment[]>
Parameters
- handleOrCharacterId: HandleOrCharacterId
- noteId: Numberish
Optional
options: Omit<undefined | NoteQueryOptions, "cursor" | "limit">
Returns Promise<Comment[]>
getMany
- getMany(handleOrCharacterId, noteId, options?): Promise<ResultMany<Comment>>
putAnonymous
- putAnonymous(commentInput): Promise<{
error: string;
} | {
data: {
noteId: string;
};
}> Returns Promise<{
error: string;
} | {
data: {
noteId: string;
};
}>