Class CalendarEventManager

Hierarchy (View Summary)

Constructors

Properties

cache: Collection<number, CalendarEvent> = ...
client: Client
router: CalendarEventRouter = ...

Methods

  • Get a calendar event's RSVP.

    Parameters

    • channelId: string

      The ID of the Guilded channel.

    • calendarEventId: number

      The ID of the calendar event.

    • body: BulkCreateOrUpdateCalendarEventRSVP

      Calendar event RSVPs data.

    Returns Promise<unknown>

  • Create a comment in a calendar event.

    Parameters

    • channelId: string

      The ID of the Guilded channel.

    • calendarEventId: number

      The ID of the calendar event.

    • body: CreateCalendarEventCommentBody

      Calendar event comment data.

    Returns Promise<CalendarEventComment>

    The calendar event comment.

  • Create/update a calendar event's RSVP.

    Parameters

    • channelId: string

      The ID of the Guilded channel.

    • calendarEventId: number

      The ID of the calendar event.

    • userId: string

      The ID of the Guilded user.

    • body: CreateOrUpdateCalendarEventRSVP

      Calendar event RSVP data.

    Returns Promise<CalendarEventRsvp>

    The calendar event RSVP.

  • Delete a calendar event.

    Parameters

    • channelId: string

      The ID of the Guilded channel.

    • calendarEventId: number

      The ID of the calendar event.

    Returns Promise<unknown>

  • Delete a comment in a calendar event.

    Parameters

    • channelId: string

      The ID of the Guilded channel.

    • calendarEventId: number

      The ID of the calendar event.

    • calendarEventCommentId: number

      The ID of the calendar event's comment.

    Returns Promise<unknown>

  • Delete a calendar event's RSVP.

    Parameters

    • channelId: string

      The ID of the Guilded channel.

    • calendarEventId: number

      The ID of the calendar event.

    • userId: string

      The ID of the Guilded user.

    Returns Promise<unknown>

  • Delete a series of a calendar event.

    Parameters

    • channelId: string

      The ID of the Guilded channel.

    • calendarEventSeriesId: string

    Returns Promise<unknown>

  • Fetch a calendar event from a Guilded channel.

    Parameters

    • channelId: string

      The ID of the Guilded channel.

    • calendarEventId: number

      The ID of the calendar event.

    Returns Promise<CalendarEvent>

    The calendar event.

  • Get a comment in a calendar event.

    Parameters

    • channelId: string

      The ID of the Guilded channel.

    • calendarEventId: number

      The ID of the calendar event.

    • calendarEventCommentId: number

      The ID of the calendar event's comment.

    Returns Promise<CalendarEventComment>

    The calendar event comment.

  • Get a calendar event's RSVP.

    Parameters

    • channelId: string

      The ID of the Guilded channel.

    • calendarEventId: number

      The ID of the calendar event.

    • userId: string

      The ID of the Guilded user.

    Returns Promise<CalendarEventRsvp>

    The calendar event RSVP.

  • Update a calendar event.

    Parameters

    • channelId: string

      The ID of the Guilded channel.

    • calendarEventId: number

      The ID of the calendar event.

    • body: UpdateCalendarEventBody

      Calendar event data.

    Returns Promise<CalendarEvent>

    The calendar event.

  • Update a comment in a calendar event.

    Parameters

    • channelId: string

      The ID of the Guilded channel.

    • calendarEventId: number

      The ID of the calendar event.

    • calendarEventCommentId: number

      The ID of the calendar event's comment.

    • body: UpdateCalendarEventCommentBody

      Calendar event comment data.

    Returns Promise<CalendarEventComment>

    The calendar event comment.

  • Update a series of a calendar event.

    Parameters

    • channelId: string

      The ID of the Guilded channel.

    • calendarEventSeriesId: string
    • body: UpdateCalendarEventSeriesBody

      Calendar event series data.

    Returns Promise<unknown>