UseChatNotificationsResult
Defined in: react/use-chat-notifications.ts:10
Properties
Section titled “Properties”client
Section titled “client”client:
ChatNotificationsClient
Defined in: react/use-chat-notifications.ts:12
The underlying client — pass it to useChatNotificationEvent.
connectionState
Section titled “connectionState”connectionState:
ConnectionState
Defined in: react/use-chat-notifications.ts:13
subscribeToConversation
Section titled “subscribeToConversation”subscribeToConversation: (
conversationId) =>void
Defined in: react/use-chat-notifications.ts:14
Parameters
Section titled “Parameters”conversationId
Section titled “conversationId”string
Returns
Section titled “Returns”void
unsubscribeFromConversation
Section titled “unsubscribeFromConversation”unsubscribeFromConversation: (
conversationId) =>void
Defined in: react/use-chat-notifications.ts:15
Parameters
Section titled “Parameters”conversationId
Section titled “conversationId”string
Returns
Section titled “Returns”void