hoshii / Exports / CalendarEventRSVP

CalendarEventRSVP

Represents a calendar event RSVP

Hierarchy

  • Base<number>

    ↳ CalendarEventRSVP

Table of contents

Constructors

Properties

Methods

Constructors

constructor

• new CalendarEventRSVP(data, client)

Create a new CalendarEventRSVP

Parameters

NameTypeDescription
dataRawCalendarEventRSVPThe raw data for the calendar event RSVP
clientClientThe client

Overrides

Base.constructor

Defined in

lib/structures/CalendarEventRSVP.ts:88open in new window

Properties

channelID

• channelID: string

The ID of the channel the calendar event is in

Defined in

lib/structures/CalendarEventRSVP.ts:46open in new window


client

• client: Client

The bot client

Inherited from

Base.client

Defined in

lib/structures/Base.ts:13open in new window


createdAt

• createdAt: Date

The date the calendar event RSVP was created at

Defined in

lib/structures/CalendarEventRSVP.ts:51open in new window


createdBy

• createdBy: string

The ID of the user that created the calendar event RSVP

Defined in

lib/structures/CalendarEventRSVP.ts:56open in new window


id

• id: number

The ID of the item

Inherited from

Base.id

Defined in

lib/structures/Base.ts:16open in new window


serverID

• serverID: string

The ID of the server the calendar event is in

Defined in

lib/structures/CalendarEventRSVP.ts:61open in new window


status

• status: CalendarEventRSVPStatus

The status of the calendar event RSVP

Defined in

lib/structures/CalendarEventRSVP.ts:66open in new window


updatedAt

• updatedAt: Date

The date the calendar event RSVP was updated at

Defined in

lib/structures/CalendarEventRSVP.ts:71open in new window


updatedBy

• updatedBy: string

The ID of the user that updated the calendar event RSVP

Defined in

lib/structures/CalendarEventRSVP.ts:76open in new window


userID

• userID: string

The ID of the user

Defined in

lib/structures/CalendarEventRSVP.ts:81open in new window

Methods

delete

▸ delete(): Promise<void>

Delete the calendar event RSVP

Returns

Promise<void>

Defined in

lib/structures/CalendarEventRSVP.ts:107open in new window


edit

▸ edit(options): Promise<CalendarEventRSVP>

Edit the calendar event RSVP

Parameters

NameTypeDescription
optionsCalendarEventRSVPEditOptionsThe options to edit the calendar event RSVP with

Returns

Promise<CalendarEventRSVP>

Defined in

lib/structures/CalendarEventRSVP.ts:120open in new window


toJSON

▸ toJSON(): CalendarEventRSVPData

Returns the JSON representation of the item

Returns

CalendarEventRSVPData

Overrides

Base.toJSON

Defined in

lib/structures/CalendarEventRSVP.ts:131open in new window


update

▸ Protected update(data): void

Parameters

NameType
dataRawCalendarEventRSVP

Returns

void

Overrides

Base.update

Defined in

lib/structures/CalendarEventRSVP.ts:145open in new window

Last Updated:
Contributors: Reinhardt