Function useChannelHandler
- useChannelHandler<T>(sdk, handlerId, hookHandler, type?): void
Type Parameters
T extends ChannelType = "group"
Parameters
sdk: SendbirdChatSDK
handlerId: string
hookHandler: Partial<T extends "group"
? GroupChannelHandler
: OpenChannelHandler>
type: T = ...
Returns void