Class ClientGatewayHandler

Hierarchy

  • ClientGatewayHandler

Constructors

Properties

ServerChannelHandler: ServerChannelEventHandler = ...
ServerHandler: ServerEventHandler = ...
ServerMemberHandler: ServerMemberEventHandler = ...
ServerWebhookHandler: ServerWebhookEventHandler = ...
botHandler: BotEventHandler = ...
calendarEventHandler: CalendarEventHandler = ...
calendarEventRsvpHandler: CalendarEventRsvpHandler = ...
client: Client
docHandler: DocEventHandler = ...
eventToHandlerMap: Record<"BotServerMembershipCreated" | "BotServerMembershipDeleted" | "ChatMessageCreated" | "ChatMessageUpdated" | "ChatMessageDeleted" | "ServerMemberJoined" | "ServerMemberRemoved" | "ServerMemberBanned" | "ServerMemberUnbanned" | "ServerMemberUpdated" | "ServerRolesUpdated" | "ServerChannelCreated" | "ServerChannelUpdated" | "ServerChannelDeleted" | "ServerMemberSocialLinkCreated" | "ServerMemberSocialLinkUpdated" | "ServerMemberSocialLinkDeleted" | "ServerWebhookCreated" | "ServerWebhookUpdated" | "DocCreated" | "DocUpdated" | "DocDeleted" | "CalendarEventCreated" | "CalendarEventUpdated" | "CalendarEventDeleted" | "ForumTopicCreated" | "ForumTopicUpdated" | "ForumTopicDeleted" | "ForumTopicPinned" | "ForumTopicUnpinned" | "ForumTopicLocked" | "ForumTopicUnlocked" | "CalendarEventRsvpUpdated" | "CalendarEventRsvpManyUpdated" | "CalendarEventRsvpDeleted" | "ListItemCreated" | "ListItemUpdated" | "ListItemDeleted" | "ListItemCompleted" | "ListItemUncompleted" | "ChannelMessageReactionCreated" | "ChannelMessageReactionDeleted", ((data) => boolean | Promise<boolean>)> = ...
forumHandler: ForumEventHandler = ...
listHandler: ListEventHandler = ...
messageHandler: MessageEventHandler = ...
reactionHandler: ReactionEventHandler = ...

Methods

  • Parameters

    • event: "BotServerMembershipCreated" | "BotServerMembershipDeleted" | "ChatMessageCreated" | "ChatMessageUpdated" | "ChatMessageDeleted" | "ServerMemberJoined" | "ServerMemberRemoved" | "ServerMemberBanned" | "ServerMemberUnbanned" | "ServerMemberUpdated" | "ServerRolesUpdated" | "ServerChannelCreated" | "ServerChannelUpdated" | "ServerChannelDeleted" | "ServerMemberSocialLinkCreated" | "ServerMemberSocialLinkUpdated" | "ServerMemberSocialLinkDeleted" | "ServerWebhookCreated" | "ServerWebhookUpdated" | "DocCreated" | "DocUpdated" | "DocDeleted" | "CalendarEventCreated" | "CalendarEventUpdated" | "CalendarEventDeleted" | "ForumTopicCreated" | "ForumTopicUpdated" | "ForumTopicDeleted" | "ForumTopicPinned" | "ForumTopicUnpinned" | "ForumTopicLocked" | "ForumTopicUnlocked" | "CalendarEventRsvpUpdated" | "CalendarEventRsvpManyUpdated" | "CalendarEventRsvpDeleted" | "ListItemCreated" | "ListItemUpdated" | "ListItemDeleted" | "ListItemCompleted" | "ListItemUncompleted" | "ChannelMessageReactionCreated" | "ChannelMessageReactionDeleted"
    • data: SkeletonWSPayload

    Returns void

Generated using TypeDoc