- Preparing search index...
- The search index is not available
Guilded.JS
Methods
docCreate
- docCreate(options): CancelablePromise<{
doc: DocPayload;
}>
-
Parameters
-
options: {
channelId: string;
requestBody: {
content: string | Record<string, any>;
title: string;
};
}
-
channelId: string
-
requestBody: {
content: string | Record<string, any>;
title: string;
}
-
content: string | Record<string, any>
-
title: string
any Success
docDelete
- docDelete(options): CancelablePromise<void>
-
Parameters
-
options: {
channelId: string;
docId: number;
}
-
channelId: string
-
docId: number
void
docRead
- docRead(options): CancelablePromise<{
doc: DocPayload;
}>
-
Parameters
-
options: {
channelId: string;
docId: number;
}
-
channelId: string
-
docId: number
any Success
docReadMany
- docReadMany(options): CancelablePromise<{
docs: DocPayload[];
}>
-
Parameters
-
options: {
before?: string;
channelId: string;
limit?: number;
}
-
Optional
before?: string
-
channelId: string
-
Optional
limit?: number
any Success
docUpdate
- docUpdate(options): CancelablePromise<{
doc: DocPayload;
}>
-
Parameters
-
options: {
channelId: string;
docId: number;
requestBody: {
content: string;
title: string;
};
}
-
channelId: string
-
docId: number
-
requestBody: {
content: string;
title: string;
}
-
content: string
-
title: string
any Success
Create a doc
Throws
ApiError