CalendarEventRSVP represents a guild member's event RSVP. It gives information about a member's set presence to an event.

Hierarchy (view full)

  • Base<number>
    • CalendarEventRSVP

Constructors

  • Parameters

    • data: {
          calendarEventId: number;
          channelId: string;
          createdAt: string;
          createdBy: string;
          serverId: string;
          status: CalendarEventRsvpStatus;
          updatedAt?: string;
          updatedBy?: string;
          userId: string;
      }

      raw data.

      • calendarEventId: number

        Calendar event ID

        The ID of the calendar event

      • channelId: string

        Channel ID Format: uuid

        The ID of the channel

      • createdAt: string

        Created at Format: date-time

        The ISO 8601 timestamp that the RSVP was created at

      • createdBy: string

        Created by

        The ID of the user who created this RSVP

      • serverId: string

        Server ID

        The ID of the server

      • status: CalendarEventRsvpStatus

        Status

        The status of the RSVP

      • OptionalupdatedAt?: string

        Updated at Format: date-time

        The ISO 8601 timestamp that the RSVP was updated at, if relevant

      • OptionalupdatedBy?: string

        Updated by

        The ID of the user who updated this RSVP

      • userId: string

        User ID Format: user-id

        The ID of the user

    • client: Client

      client.

    Returns CalendarEventRSVP

Properties

channelID: string

Calendar channel id.

client: Client

App's client.

createdAt: null | Date

When the RSVP was created.

creatorID: string

ID of the user who created this RSVP.

entityID: string

ID of the entity assigned to this Event RSVP.

guildID: string

Guild/server ID.

id: number

Item ID

status: CalendarEventRsvpStatus

Status of the RSVP

updatedAt: null | Date

When the RSVP was updated.

updatedBy?: null | string

ID of the member who updated the rsvp, if updated.

Methods

  • Delete this RSVP.

    Returns Promise<void>