- Preparing search index...
- The search index is not available
Guilded.JS
Methods
webhookCreate
- webhookCreate(options): CancelablePromise<{
webhook: WebhookPayload;
}>
-
Parameters
-
options: {
requestBody: {
channelId: string;
name: string;
};
serverId: string;
}
-
requestBody: {
channelId: string;
name: string;
}
-
channelId: string
-
name: string
-
serverId: string
any Success
webhookDelete
- webhookDelete(options): CancelablePromise<void>
-
Parameters
-
options: {
serverId: string;
webhookId: string;
}
-
serverId: string
-
webhookId: string
void
webhookRead
- webhookRead(options): CancelablePromise<{
webhook: WebhookPayload;
}>
-
Parameters
-
options: {
serverId: string;
webhookId: string;
}
-
serverId: string
-
webhookId: string
any Success
webhookReadMany
- webhookReadMany(options): CancelablePromise<{
webhooks: WebhookPayload[];
}>
-
Parameters
-
options: {
channelId?: string;
serverId: string;
}
-
Optional
channelId?: string
-
serverId: string
any Success
webhookUpdate
- webhookUpdate(options): CancelablePromise<{
webhook: WebhookPayload;
}>
-
Parameters
-
options: {
requestBody: {
channelId?: string;
name: string;
};
serverId: string;
webhookId: string;
}
-
requestBody: {
channelId?: string;
name: string;
}
-
Optional
channelId?: string
-
name: string
-
serverId: string
-
webhookId: string
any Success
Create a webhook Note that each server can only have 200 webhooks
Throws
ApiError