Interface APIWebhook

interface APIWebhook {
    channelId: string;
    createdAt: string;
    createdBy: string;
    deletedAt?: string;
    id: string;
    name: string;
    serverId: string;
    token?: string;
}

Properties

channelId: string

The ID of the channel

createdAt: string

The ISO 8601 timestamp that the webhook was created at

createdBy: string

The ID of the user who created this webhook

deletedAt?: string

The ISO 8601 timestamp that the webhook was deleted at

id: string

The ID of the webhook

name: string

The name of the webhook (min length 1; max length 128)

serverId: string

The ID of the server

token?: string

The token of the webhook