Type alias WebhookPayload

WebhookPayload: {
    avatar?: string;
    channelId: string;
    createdAt: string;
    createdBy: string;
    deletedAt?: string;
    id: string;
    name: string;
    serverId: string;
    token?: string;
}

Type declaration

  • Optional avatar?: string

    The avatar image associated with the webhook

  • 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

  • Optional 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

  • serverId: string

    The ID of the server

  • Optional token?: string

    The token of the webhook

Generated using TypeDoc