Interface GatewayEvent_ServerWebhookUpdated

interface GatewayEvent_ServerWebhookUpdated {
    serverId: string;
    webhook: {
        avatar?: string;
        channelId: string;
        createdAt: string;
        createdBy: string;
        deletedAt?: string;
        id: string;
        name: string;
        serverId: string;
        token?: string;
    };
}

Properties

Properties

serverId: string

The ID of the server

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

Type declaration

  • Optionalavatar?: string

    Avatar Format: media-uri

    The avatar image associated with the webhook

  • channelId: string

    Channel ID Format: uuid

    The ID of the channel

  • createdAt: string

    Created at Format: date-time

    The ISO 8601 timestamp that the webhook was created at

  • createdBy: string

    Created by

    The ID of the user who created this webhook

  • OptionaldeletedAt?: string

    Deleted at Format: date-time

    The ISO 8601 timestamp that the webhook was deleted at

  • id: string

    Webhook ID Format: uuid

    The ID of the webhook

  • name: string

    Name

    The name of the webhook

  • serverId: string

    Server ID

    The ID of the server

  • Optionaltoken?: string

    Token

    The token of the webhook