Interface APICalendarEvent

Hierarchy

  • APICalendarEvent

Properties

cancellation?: {
    createdBy?: string;
    description?: string;
}

Type declaration

  • Optional createdBy?: string

    The ID of the user who created this event cancellation

  • Optional description?: string

    The description of event cancellation (min length 1; max length 140)

channelId: string

The ID of the channel

color?: number

The color of the event when viewing in the calendar (min 0; max 16777215)

createdAt: string

The ISO 8601 timestamp that the event was created at

createdBy: string

The ID of the user who created this event

description?: string

The description of the event (min length 1; max length 8000)

duration?: number

The duration of the event in minutes (min 1)

id: number

The ID of the calendar event (min 1)

isPrivate?: boolean
location?: string

The location of the event (min length 1; max length 8000)

mentions?: APIMentions

Calendar Event's mentions

name: string

The name of the event (min length 1; max length 60)

rsvpLimit?: number

The number of RSVPs to allow before waitlisting RSVPs (min 1)

serverId: string

The ID of the server

startsAt: string

The ISO 8601 timestamp that the event starts at

url?: string

A URL to associate with the event