onCheckActivity: (clientId: string, swarmName: string, isActive: boolean, lastActivity: number) => void
Called when checking activity status
onInit: (clientId: string, swarmName: string, instance: IChatInstance) => void
Called when instance is initialized
onDispose: (clientId: string, swarmName: string, instance: IChatInstance) => void
Called when instance is disposed
onBeginChat: (clientId: string, swarmName: string) => void
Called when chat begins
onSendMessage: (clientId: string, swarmName: string, content: string) => void
Called when message is sent