Interface GatewayEvent_CalendarEventUpdated

interface GatewayEvent_CalendarEventUpdated {
    calendarEvent: {
        autofillWaitlist?: boolean;
        cancellation?: {
            createdBy: string;
            description?: string;
        };
        channelId: string;
        color?: number;
        createdAt: string;
        createdBy: string;
        description?: string;
        duration?: number;
        groupId: string;
        id: number;
        isAllDay?: boolean;
        isPrivate?: boolean;
        location?: string;
        mentions?: {
            channels?: {
                id: string;
            }[];
            everyone?: boolean;
            here?: boolean;
            roles?: {
                id: number;
            }[];
            users?: {
                id: string;
            }[];
        };
        name: string;
        repeats?: boolean;
        roleIds?: number[];
        rsvpDisabled?: boolean;
        rsvpLimit?: number;
        seriesId?: string;
        serverId: string;
        startsAt: string;
        url?: string;
    };
    serverId: string;
}

Properties

calendarEvent: {
    autofillWaitlist?: boolean;
    cancellation?: {
        createdBy: string;
        description?: string;
    };
    channelId: string;
    color?: number;
    createdAt: string;
    createdBy: string;
    description?: string;
    duration?: number;
    groupId: string;
    id: number;
    isAllDay?: boolean;
    isPrivate?: boolean;
    location?: string;
    mentions?: {
        channels?: {
            id: string;
        }[];
        everyone?: boolean;
        here?: boolean;
        roles?: {
            id: number;
        }[];
        users?: {
            id: string;
        }[];
    };
    name: string;
    repeats?: boolean;
    roleIds?: number[];
    rsvpDisabled?: boolean;
    rsvpLimit?: number;
    seriesId?: string;
    serverId: string;
    startsAt: string;
    url?: string;
}

Type declaration

  • OptionalautofillWaitlist?: boolean

    When rsvpLimit is set, users from the waitlist will be added as space becomes available in the event

  • Optionalcancellation?: {
        createdBy: string;
        description?: string;
    }
    • createdBy: string

      Created by

      The ID of the user who created this event cancellation

    • Optionaldescription?: string

      Description Format: long-form markdown

      The description of event cancellation

  • channelId: string

    Channel ID Format: uuid

    The ID of the channel

  • Optionalcolor?: number

    The integer value corresponds to the decimal RGB representation for the color. The color of the event when viewing in the calendar

  • createdAt: string

    Created at Format: date-time

    The ISO 8601 timestamp that the event was created at

  • createdBy: string

    Created by

    The ID of the user who created this event

  • Optionaldescription?: string

    Description Format: long-form markdown

    The description of the event

  • Optionalduration?: number

    Duration

    The duration of the event in minutes

  • groupId: string

    Group ID

    The ID of the group

  • id: number

    Calendar event ID

    The ID of the calendar event

  • OptionalisAllDay?: boolean

    Is all day

    Does the event last all day

  • OptionalisPrivate?: boolean

    Is private

  • Optionallocation?: string

    Location

    The location of the event

  • Optionalmentions?: {
        channels?: {
            id: string;
        }[];
        everyone?: boolean;
        here?: boolean;
        roles?: {
            id: number;
        }[];
        users?: {
            id: string;
        }[];
    }
    • Optionalchannels?: {
          id: string;
      }[]

      Channels

      Info on mentioned channels

    • Optionaleveryone?: boolean

      Everyone

      If

      was mentioned

    • Optionalhere?: boolean

      Here

      If

      was mentioned

    • Optionalroles?: {
          id: number;
      }[]

      Roles

      Info on mentioned roles

    • Optionalusers?: {
          id: string;
      }[]

      Users

      Info on mentioned users

  • name: string

    Name

    The name of the event

  • Optionalrepeats?: boolean

    Is this event a repeating event

  • OptionalroleIds?: number[]

    Role IDs

    The role IDs to restrict the event to

  • OptionalrsvpDisabled?: boolean

    RSVP disabled

    When disabled, users will not be able to RSVP to the event

  • OptionalrsvpLimit?: number

    The number of RSVPs to allow before waitlisting RSVPs

  • OptionalseriesId?: string

    Calendar event series ID Format: uuid

    The ID of the calendar event series. Only shows if the event is repeating

  • serverId: string

    Server ID

    The ID of the server

  • startsAt: string

    Starts at Format: date-time

    The ISO 8601 timestamp that the event starts at

  • Optionalurl?: string

    Format: uri

    A URL to associate with the event

serverId: string

The ID of the server