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
Name | Type | Description |
---|---|---|
data | RawCalendarEventRSVP | The raw data for the calendar event RSVP |
client | Client | The client |
Overrides
Defined in
lib/structures/CalendarEventRSVP.ts:88
Properties
channelID
• channelID: string
The ID of the channel the calendar event is in
Defined in
lib/structures/CalendarEventRSVP.ts:46
client
• client: Client
The bot client
Inherited from
Defined in
createdAt
• createdAt: Date
The date the calendar event RSVP was created at
Defined in
lib/structures/CalendarEventRSVP.ts:51
createdBy
• createdBy: string
The ID of the user that created the calendar event RSVP
Defined in
lib/structures/CalendarEventRSVP.ts:56
id
• id: number
The ID of the item
Inherited from
Defined in
serverID
• serverID: string
The ID of the server the calendar event is in
Defined in
lib/structures/CalendarEventRSVP.ts:61
status
• status: CalendarEventRSVPStatus
The status of the calendar event RSVP
Defined in
lib/structures/CalendarEventRSVP.ts:66
updatedAt
• updatedAt: Date
The date the calendar event RSVP was updated at
Defined in
lib/structures/CalendarEventRSVP.ts:71
updatedBy
• updatedBy: string
The ID of the user that updated the calendar event RSVP
Defined in
lib/structures/CalendarEventRSVP.ts:76
userID
• userID: string
The ID of the user
Defined in
lib/structures/CalendarEventRSVP.ts:81
Methods
delete
▸ delete(): Promise
<void
>
Delete the calendar event RSVP
Returns
Promise
<void
>
Defined in
lib/structures/CalendarEventRSVP.ts:107
edit
▸ edit(options
): Promise
<CalendarEventRSVP
>
Edit the calendar event RSVP
Parameters
Name | Type | Description |
---|---|---|
options | CalendarEventRSVPEditOptions | The options to edit the calendar event RSVP with |
Returns
Promise
<CalendarEventRSVP
>
Defined in
lib/structures/CalendarEventRSVP.ts:120
toJSON
▸ toJSON(): CalendarEventRSVPData
Returns the JSON representation of the item
Returns
Overrides
Defined in
lib/structures/CalendarEventRSVP.ts:131
update
▸ Protected
update(data
): void
Parameters
Name | Type |
---|---|
data | RawCalendarEventRSVP |
Returns
void