Class CalendarEventRsvpRouter

The calendar event RSVP router for the Guilded REST API.

Example

new CalendarEventRsvpRouter(rest);

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

The REST API manager the router belongs to.

Methods

  • Delete a calendar event RSVP from Guilded.

    Example

    calendarEventRsvps.delete('abc', 123, 'abc');
    

    Parameters

    • channelId: string

      The ID of the channel the calendar event RSVP belongs to.

    • calendarEventId: number

      The ID of the calendar event the RSVP belongs to.

    • userId: string

      The ID of the user the RSVP belongs to.

    Returns Promise<void>

  • Fetch a calendar event RSVP from Guilded.

    Returns

    The fetched calendar event RSVP.

    Example

    calendarEvents.fetch('abc', 123, 'abc');
    

    Parameters

    • channelId: string

      The ID of the channel the calendar event RSVP belongs to.

    • calendarEventId: number

      The ID of the calendar event the RSVP belongs to.

    • userId: string

      The ID of the user the RSVP belongs to.

    Returns Promise<APICalendarEventRsvp>

  • Fetch calendar event RSVPs from Guilded.

    Returns

    The fetched calendar event RSVPs.

    Example

    calendarEvents.fetch('abc', 123);
    

    Parameters

    • channelId: string

      The ID of the channel the calendar event RSVPs belong to.

    • calendarEventId: number

      The ID of the calendar event the RSVPs belong to.

    Returns Promise<APICalendarEventRsvp[]>